elasticsearch

Query and manage Elasticsearch/OpenSearch clusters via REST API.

2|1|Updated Jul 19, 2024
One-click install
npx skills add https://github.com/TeamDay-AI/agents --skill elasticsearch-teamday-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: elasticsearch
Source: https://github.com/TeamDay-AI/agents/tree/main/skills/teamday/elasticsearch
Command: npx skills add https://github.com/TeamDay-AI/agents --skill elasticsearch-teamday-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill enables teams to quickly query and manage Elasticsearch/OpenSearch clusters via REST API, reducing time spent on manual cluster inspection and health checks.

Core Features & Use Cases

  • Health checks and cluster status retrieval via REST endpoints.
  • Index management and basic search operations against indices.
  • Real-world scenario: verify cluster health and run ad-hoc queries to monitor performance from scripts.

Quick Start

Query the cluster health endpoint to verify connectivity.

Frequently Asked Questions about elasticsearch

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

FAQPage Schema
How do I check Elasticsearch cluster health via REST API?

You can check Elasticsearch cluster health by querying the REST API health endpoint using curl, a valid cluster URL, and authentication credentials to retrieve real-time cluster status and connectivity checks.

Can I manage Elasticsearch indices using curl commands?

Yes, you can manage Elasticsearch indices using curl commands to interact with REST API endpoints, enabling index creation, deletion, and basic search operations directly against your cluster.

Does this approach work with OpenSearch clusters or only Elasticsearch?

The REST API approach works with both Elasticsearch and OpenSearch clusters, allowing you to query health endpoints, manage indices, and run ad-hoc search operations across HTTP endpoints using curl.

What credentials do I need to query Elasticsearch REST endpoints?

Querying Elasticsearch REST endpoints requires curl installed, a reachable cluster URL, and valid authentication credentials to access health checks, index management, and search operations over HTTP.

What's the best way to run ad-hoc search queries against an Elasticsearch index?

The best way to run ad-hoc search queries against an Elasticsearch index is sending curl requests to the cluster's REST API search endpoints, which requires the cluster URL and credentials for execution.

Why automate Elasticsearch cluster inspection with REST API calls?

Automating Elasticsearch cluster inspection with REST API calls reduces time spent on manual health checks, allowing scripts to verify cluster performance and retrieve basic cluster insights efficiently.