What problem does it solve?
Answering log questions against Elasticsearch is error-prone: a bare search silently caps totals at 10,000, guessed field names return empty results, and an empty result looks identical to an absence of events. This Skill enforces correct counting via ESQL or track_total_hits and mapping-first querying so reported numbers are accurate.
Core Features & Use Cases
- Accurate Counting: Uses ESQL STATS COUNT(*) or search with track_total_hits so totals above 10,000 are reported correctly instead of silently truncated.
- Read-Only Log Search: Lists indices, inspects field mappings, retrieves matching documents, and checks shard health across syslog, Zeek/Suricata, or application log indices.
- Backend Routing Guidance: Distinguishes Elasticsearch from Splunk, Datadog, GCP Cloud Logging, and Prometheus so queries go to the store that actually holds the data.
- Use Case: Ask "how many errors did each device log last week" and get an exact per-device count from your syslog index, then retrieve example error documents for investigation.
Quick Start
Ask the agent to count errors by device in your Elasticsearch syslog index and show example matching log entries.