Elasticsearch Service#
The Elasticsearch service provides comprehensive log storage, search, and data indexing capabilities with 14 tools for managing Elasticsearch resources.
Overview#
The Elasticsearch service in Cloud Native MCP Server enables AI assistants to manage Elasticsearch indices, documents, and clusters efficiently. It provides tools for indexing, searching, and cluster management.
Key Capabilities#
### π Advanced Search
Powerful full-text search and analytics capabilities.
### ποΈ Index Management
Complete control over Elasticsearch indices and mappings.
### π¦ Document Management
Handle document indexing, retrieval, and bulk operations.
### π₯οΈ Cluster Management
Monitor and manage Elasticsearch cluster health and performance.
Available Tools (14)#
Index Management#
- elasticsearch-get-indices: Get all indices
- elasticsearch-create-index: Create a new index
- elasticsearch-delete-index: Delete an index
- elasticsearch-get-index-settings: Get index settings
- elasticsearch-update-index-settings: Update index settings
- elasticsearch-get-mappings: Get index mappings
- elasticsearch-update-mappings: Update index mappings
Document Operations#
- elasticsearch-index-document: Index a document
- elasticsearch-get-document: Get a document
- elasticsearch-search: Search documents
- elasticsearch-delete-document: Delete a document
Cluster Management#
- elasticsearch-get-cluster-info: Get cluster information
- elasticsearch-get-cluster-health: Get cluster health
- elasticsearch-get-nodes: Get cluster nodes
Quick Examples#
Index a document#
| |
Search documents#
| |
Get cluster health#
| |
Best Practices#
- Use appropriate index mappings for efficient searching
- Regularly optimize indices for performance
- Monitor cluster health and resource usage
- Implement proper index lifecycle management
- Use bulk operations for efficient data ingestion
Next Steps#
- Kibana Service for visualization
- Log Management Guides for detailed setup
- Search Optimization for query performance