{"repo":"calebevans/cordon","free":true,"listed":false,"github":"https://github.com/calebevans/cordon","clone":"git clone https://github.com/calebevans/cordon.git","description":"Reduce logs to their semantic anomalies","language":"Python","stars":158,"topics":["anomaly-detection","log-analysis","embeddings","semantic-analysis","transformers","context-engineering","devops","log-aggregation","machine-learning","nlp"],"license":"Apache-2.0","category":"machine-learning","readme_excerpt":"Cordon Cordon uses transformer embeddings and density scoring to identify semantically unusual patterns in large log files, reducing massive logs to the most anomalous sections for analysis. Repetitive patterns (even errors) are considered \"normal background.\" Cordon surfaces unusual, rare, or clustered events that stand out semantically from the bulk of the logs. 🤗 Try Cordon in your browser — No installation required! 📖 For an in-depth explanation of the methodology, see my Red Hat Developer article: Semantic anomaly detection in log files with Cordon. Features - Semantic Analysis : Uses transformer models to understand log content meaning, not just keyword matching - k-NN Density Scoring : Identifies anomalies using k-NN distance in embedding space - Noise Reduction : Filters out repetitive logs, keeping only unusual patterns - Multiple Backends : sentence-transformers (default), llama.cpp for containers, or remote APIs (OpenAI, Gemini, etc.) - Multiple Output Formats : XML (default) or JSON output with --format json - Token Budget : Trim output to fit LLM context windows with --token-budget - Stdin Support : Pipe logs directly with cordon - - Text API : Analyze strings directly with analyze text() and analyze text detailed() - Output Filtering : Control results with --max-blocks , --min-score , and --max-line-length Installation From PyPI (Recommended) From Source For development: For llama.cpp backend (GPU acceleration in containers): Container Installation See Contain","default_branch":null,"files":null,"tree":[],"storefront":"/r/calebevans","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/calebevans/cordon/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}