Beyond Behaviors: AI-Augmented Detection Engineering with ES|QL Completion
Traditional behavioral detection rules excel at catching known patterns, but sophisticated threats increasingly operate within the boundaries of normal behavior. This article explores how ES|QL's COMPLETION command leverages large language models to classify and detect threats that evade conventional rule-based approaches.
Key topics covered include:
- The limitations of purely behavioral detection engineering
- How ES|QL COMPLETION integrates LLM inference directly into detection queries
- Practical examples of hybrid detection combining rule-based pre-filters with LLM classification
- Strategies for managing confidence scores and reducing false positives
- Performance considerations for production deployment
Check out the original blog post at Elastic Security Labs.


