elasticsearch-esql

Official

Query Elasticsearch with ES|QL

Authorelastic
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill allows users to query and analyze data directly within Elasticsearch using the powerful ES|QL (Elasticsearch Query Language), enabling complex data exploration, log analysis, and metric aggregation without leaving their AI agent.

Core Features & Use Cases

  • Execute ES|QL Queries: Run any valid ES|QL query against your Elasticsearch cluster.
  • Data Exploration & Analysis: Analyze logs, aggregate metrics, explore data, and create charts from ES|QL results.
  • Schema Discovery: Easily retrieve index mappings and list available indices to inform your queries.
  • Use Case: Analyze web server logs to find the top 10 most frequent IP addresses making requests in the last 24 hours, or identify error trends across different services.

Quick Start

Use the elasticsearch-esql skill to find the top 5 hosts by error count in the last hour.

Dependency Matrix

Required Modules

@elastic/elasticsearch

Components

scriptsreferences

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: elasticsearch-esql
Download link: https://github.com/elastic/agent-skills/archive/main.zip#elasticsearch-esql

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.