Spaces:
Running on Zero
Running on Zero
File size: 1,725 Bytes
c3e8b58 c1a6768 2d051cd c3e8b58 7a3da20 c3e8b58 c1a6768 7ec313c ff37a98 f4c86fd c3e8b58 ff37a98 c1a6768 ff37a98 f4c86fd | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | ---
title: Cordon - Log Anomaly Detection
emoji: 🔍
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 6.2.0
app_file: app.py
pinned: false
license: apache-2.0
short_description: Find anomalies in logs using AI. Paste logs, get insights.
hardware: zero-gpu
tags:
- log-analysis
- anomaly-detection
- semantic-search
- embeddings
- transformers
- devops
- sre
- observability
- debugging
- nlp
- text-analysis
- machine-learning
- ai-tools
---
# Cordon
**Reduce logs to their semantically anomalous parts.**
Cordon uses AI to understand the *meaning* of your logs and find the parts that are semantically unusual—reducing massive log files to just the anomalous sections worth investigating.
## How It Works
1. **Segmentation** — Logs are split into non-overlapping windows
2. **Embedding** — Each window is vectorized using transformers
3. **Scoring** — Distance to nearest neighbors identifies unusual patterns
4. **Thresholding** — Top anomalies are selected
5. **Output** — XML-tagged blocks ready for LLM analysis
## Use Cases
- **Debug faster** — Find the needle in the haystack
- **LLM pre-processing** — Reduce logs to fit in context windows
- **Incident response** — Surface unusual events quickly
- **Exploratory analysis** — Discover patterns you didn't know to search for
## Key Insight
> Repetitive patterns (even errors) are filtered out. Cordon surfaces the *rare* and *unusual* events that stand out from the bulk of your logs.
## Links
- [GitHub Repository](https://github.com/calebevans/cordon)
- [PyPI Package](https://pypi.org/project/cordon/)
- [Red Hat Developer Article](https://developers.redhat.com/articles/2025/12/09/semantic-anomaly-detection-log-files-cordon) |