ProjectOperations CLI · 2026
Elasticsearch CLI
A Go CLI for Elasticsearch clusters, indices, documents, Query DSL and SQL. Cluster health, index management and ad-hoc querying from one binary.
- Go
- Elasticsearch API
- Query DSL
- SQL
Operations CLI · Project
Overview
Elasticsearch CLI provides direct, structured access to search infrastructure.

More Than Search
The command surface covers cluster health, nodes, shards, indices, aliases, templates, pipelines, ILM, documents, Query DSL, and SQL. It is designed for the operational work around Elasticsearch, not only for submitting a query.
Safe by Default
Destructive operations require confirmation, while read-only and non-interactive modes make the intended behavior explicit. Idempotent flags help automation rerun commands without turning routine maintenance into a risky sequence of API calls.
Structured Everywhere
Table output keeps interactive work readable. JSON and YAML provide stable machine-readable results for scripts and coding agents. Authentication supports basic credentials, API keys, and bearer tokens, with custom CA and insecure TLS options for real deployment environments.
One Binary, Many Clusters
Named profiles make it easy to switch among local, staging, and production clusters without repeatedly assembling URLs and credentials. Cross-platform release binaries and built-in updates keep the tool straightforward to distribute to an operations team.
Next projectOperations CLI