elasticsearch

Manage Elasticsearch clusters, indices, and documents via cURL HTTP API.

50|13|Updated Jan 19, 2026
One-click install
npx skills add https://github.com/chaterm/terminal-skills --skill elasticsearch-chaterm
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elasticsearch
Source: https://github.com/chaterm/terminal-skills/tree/main/database/elasticsearch
Command: npx skills add https://github.com/chaterm/terminal-skills --skill elasticsearch-chaterm

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill simplifies the complex tasks of managing Elasticsearch clusters, indices, and documents, enabling efficient data handling and troubleshooting.

Core Features & Use Cases

  • Cluster Monitoring: Check cluster health, status, and node information.
  • Index Management: Create, delete, update settings, and manage aliases for indices.
  • Document Operations: Perform CRUD operations and bulk data imports.
  • Querying: Construct and execute various search queries, including full-text, term, range, and boolean queries.
  • Backup & Restore: Register snapshot repositories, create, and restore snapshots.
  • Troubleshooting: Diagnose common issues like RED cluster status, unassigned shards, and performance bottlenecks.

Quick Start

Use the elasticsearch skill to check the health of your Elasticsearch cluster.

Frequently Asked Questions about elasticsearch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check the health and status of my Elasticsearch cluster?

To check Elasticsearch cluster health, use cURL to query the HTTP API for cluster state, node information, and overall status. This monitors operations and identifies whether the cluster is GREEN, YELLOW, or RED.

How do I manage Elasticsearch indices and document CRUD operations?

You can manage Elasticsearch indices by creating, deleting, updating settings, and configuring aliases. Document operations include standard CRUD actions and bulk data imports, all executed by sending HTTP requests via cURL to the Elasticsearch API endpoints.

What is the best way to build advanced search queries in Elasticsearch?

The best way to build advanced search queries in Elasticsearch is using the Query DSL. You can construct and execute full-text, term, range, and boolean queries by formatting JSON request bodies and sending them through cURL to the search API.

How do I backup and restore Elasticsearch indices using snapshots?

To backup and restore Elasticsearch indices, you register a snapshot repository, create snapshots of your current data, and restore them when needed. This process is handled by sending cURL commands to the Elasticsearch snapshot and restore API endpoints.

Why is my Elasticsearch cluster status RED and how do I troubleshoot unassigned shards?

An Elasticsearch cluster status RED indicates unassigned primary shards. You can troubleshoot this by diagnosing common issues like shard allocation failures and performance bottlenecks using cluster state monitoring commands and troubleshooting queries via cURL.

Do I need cURL to manage Elasticsearch clusters and indices?

Yes, you need cURL to interact with the Elasticsearch HTTP API for cluster and index management. Since Elasticsearch exposes its functionality through REST endpoints, cURL is required to execute commands for monitoring, querying, and troubleshooting.