Problem
The MTS support team for the Partner Experience Platform, a system of dozens of microservices, faces millions of log lines per day. Reading them by hand in OpenSearch/Kibana is not possible. After a release or hotfix, a bug can pass all tests and show up hours later as customer complaints or monitoring alerts. Rule-based monitoring catches only the exceptions and error levels someone predicted in advance, so new combinations of conditions and new log types slip through.
Example from the article: after a night deployment, customers and internal systems complain, and the cause may already sit in the logs as one critical error.
Solution in brief
Embed each cleaned log message, cluster the vectors with HDBSCAN and treat the records that fall outside every cluster (label -1) as anomalies. Four small services run on a schedule: detection, retraining, thinning of the vector database and export to monitoring. Engineers watch a Grafana chart of anomaly counts and an OpenSearch dashboard instead of raw logs.
Questions this case answers
- How to detect previously unseen anomalous events in a high-volume text event stream when alert rules only cover known failure types
- How to keep a store of embedded records compact when most records are near-duplicates, without losing the rare variants
- How to notice a new bug in a release among millions of daily log lines before customers complain?
- How to find anomalous log messages when static alert rules only cover errors someone predicted?
Tools and methods
- bge-m3 — embeds log text into vectors.
- HDBSCAN — clusters vectors without a preset cluster count; the noise label marks anomalies.
- Qdrant — stores vectors, cluster labels and cleaned text; nearest-neighbor search finds similar past logs.
- OpenSearch — source of logs and store for detected anomalies.
- Grafana, Prometheus, VictoriaMetrics — anomaly counts as a metric and a chart.
- S3, Docker, GitLab CI/CD, ArgoCD — model storage and delivery.
Google or a one-time email code. No password.