
Elasticsearch Esql
Query Elasticsearch data with ES|QL pipelines for schema discovery, aggregation, time series, and charting.
- CCM score
- 79 of 100
- skills.sh installs
- 5.5K
- GitHub stars
- 613
- last updated
- Aug 21, 2026
Own this skill? Claim it
What it does
- Covers schema discovery, feature selection, query generation, and execution against Elasticsearch through the
elasticCLI - Includes reference files for generation tips, time series queries, PROMQL, approximation, and version history by release
- Enforces schema discovery before any query, and a version gate that drops features newer than the target cluster
- Designed for analysts and engineers on Elasticsearch 8.14 or later, self-managed or Elastic Cloud
Install
$ npx -y skills add elastic/agent-skills --skill elasticsearch-esql -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Elasticsearch ES|QL
Execute ES|QL queries against Elasticsearch: discover the schema, choose the right ES|QL feature for the task, generate the simplest correct query, and run it.
Environment Configuration
This skill executes Elasticsearch operations through the elastic CLI. If the
elastic CLI is not installed, tell the user what it is needed for. Do
not guess credentials, call the HTTP API directly, or attempt other workarounds.
This skill references operations in HTTP-shorthand form (e.g., GET /, GET /_cat/indices, GET /{index}/_mapping,
GET /{index}/_settings/index.mode, POST /_query). The Operations table at the end of this document
maps each shorthand to the equivalent elastic CLI command — always use the CLI rather than calling the HTTP API
directly.
What is ES|QL?
ES|QL (Elasticsearch Query Language) is a piped query language for Elasticsearch. It is NOT the same as:
- Elasticsearch Query DSL (JSON-based)
- SQL
- EQL (Event Query Language)
Details
- Repository
- github.com/elastic/agent-skills
- Categories
- Databases, Data Science & Analytics
- First seen
- Apr 16, 2026
More from elastic/agent-skills
All 19- Elasticsearch Onboarding5K
- Kibana Dashboards4.9K
- Security Case Management4.7K
- Kibana Alerting Rules4.6K
- Kibana Agent Builder4.5K
- Observability Llm Obs4.5K
- Security Alert Triage4.4K
- Security Detection Rule Management4.4K
- Security Generate Security Sample Data4.3K
- Kibana Anomaly Detection3.6K
- Observability K8s Investigation3.6K
- Kibana Agent Builder
- Security Alert Triage
- Security Case Management
- Security Detection Rule Management
- Security Generate Security Sample Data
- Observability K8s Investigation
- Observability Llm Obs
Similar to Elasticsearch Esql
More Databases
elasticsearch-onboardingSkillelastic/agent-skills5K installsGuided onboarding from zero to a working Elasticsearch search experience, with use-case and data mapping first.
ElasticsearchMCP serverelastic735 starsRead-only access to Elasticsearch indices: discovery, mappings, search, ES|QL, and shard details.
elastic-elasticsearchPluginelastic/agent-skills613 starsElasticsearch skills — ES|QL queries, data ingestion, security (authn, authz, audit), and troubleshooting
sql-queriesSkillphuryn/pm-skills3K installsNatural-language to SQL generator that reads schema files and targets BigQuery, PostgreSQL, MySQL, and other dialects.
elasticsearch-best-practicesSkillmindrally/skills1K installsPractical Elasticsearch guidance for mappings, shard sizing, query design, bulk indexing, and analysis, with JSON examples throughout.
azure-kustoSkillmicrosoft/azure-skills769K installsQuery and analyze Azure Data Explorer telemetry with KQL, including batch table discovery across candidate sources.