🔎
Elasticsearch
Search Engine Database & StorageInstall Command
npx clawhub@latest install elasticsearch
Installation Guide
1
Check Environment
Make sure Node.js 22+ and OpenClaw are installed. Run openclaw --version in your terminal to verify.
2
Run Installation
Run the install command above in your terminal. ClawHub will automatically download and install Elasticsearch to the ~/.openclaw/skills/ directory.
3
Verify Installation
Run openclaw skills list to check your installed skills and confirm Elasticsearch appears in the list.
4
Configure (Optional)
Follow the configuration instructions in the description below to add skill settings to ~/.config/openclaw/openclaw.json5.
Manual Installation: Copy the Skill folder to
~/.openclaw/skills/ or the skills/ directory in your project root. Make sure the folder contains a SKILL.md file.
Full-Text Search
Log Analysis
Data Aggregation
Detailed Description
The Elasticsearch skill connects OpenClaw to Elasticsearch clusters, performing complex search and analysis through conversation.
Core Features
- Full-Text Search: Describe search criteria in natural language, automatically converted to ES query DSL
- Log Analysis: Search and analyze application logs to quickly pinpoint issues
- Aggregation Analysis: Generate various statistical charts and data aggregation reports
- Index Management: View index lists, Mappings, and cluster health status
- Kibana Integration: Generate Kibana visualization query links
Configuration
{
skills: {
elasticsearch: {
nodes: ["http://localhost:9200"],
auth: { username: "elastic", password: "xxx" },
defaultIndex: "logs-*"
}
}
}
Use Cases
- "Search for logs containing 'error' in the past hour"
- "Count today's 500 errors by service name"
- "How's the cluster health? Are there any unassigned shards?"
- "What's the Mapping for the logs-2026.03 index?"