Check a dataset before analysis
Find missing values, inconsistent formats, duplicates, and questions that could invalidate results.
5,493,066 AI resources indexedWorking toward the world’s largest AI resource index.
Search and analyze data via Elasticsearch API. Index, search, and manage clusters.
---
name: elastic-e1c8b918d58d
description: Search and analyze data via Elasticsearch API. Index, search, and manage clusters.
metadata: {"clawdbot":{"emoji":"🔍","requires":{"env":["ELASTICSEARCH_URL","ELASTICSEARCH_API_KEY"]}}}
---
# Elasticsearch
Distributed search and analytics.
## Environment
```bash
export ELASTICSEARCH_URL="https://elastic.example.com:9200"
export ELASTICSEARCH_API_KEY="xxxxxxxxxx"
```
## Cluster Health
```bash
curl "$ELASTICSEARCH_URL/_cluster/health" -H "Authorization: ApiKey $ELASTICSEARCH_API_KEY"
```
## Search
```bash
curl -X POST "$ELASTICSEARCH_URL/my-index/_search" \
-H "Authorization: ApiKey $ELASTICSEARCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": {"match": {"message": "error"}}}'
```
## Index Document
```bash
curl -X POST "$ELASTICSEARCH_URL/my-index/_doc" \
-H "Authorization: ApiKey $ELASTICSEARCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message": "Log entry", "timestamp": "2024-01-30T10:00:00Z"}'
```
## Links
- Docs: https://www.elastic.co/guide/en/elasticsearch/reference/current/rest-apis.html
---
name: elastic-e1c8b918d58d
description: Search and analyze data via Elasticsearch API. Index, search, and manage clusters.
metadata: {"clawdbot":{"emoji":"🔍","requires":{"env":["ELASTICSEARCH_URL","ELASTICSEARCH_API_KEY"]}}}
---
# Elasticsearch
Distributed search and analytics.
## Environment
```bash
export ELASTICSEARCH_URL="https://elastic.example.com:9200"
export ELASTICSEARCH_API_KEY="xxxxxxxxxx"
```
## Cluster Health
```bash
curl "$ELASTICSEARCH_URL/_cluster/health" -H "Authorization: ApiKey $ELASTICSEARCH_API_KEY"
```
## Search
```bash
curl -X POST "$ELASTICSEARCH_URL/my-index/_search" \
-H "Authorization: ApiKey $ELASTICSEARCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query": {"match": {"message": "error"}}}'
```
## Index Document
```bash
curl -X POST "$ELASTICSEARCH_URL/my-index/_doc" \
-H "Authorization: ApiKey $ELASTICSEARCH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"message": "Log entry", "timestamp": "2024-01-30T10:00:00Z"}'
```
## Links
- Docs: https://www.elastic.co/guide/en/elasticsearch/reference/current/rest-apis.html
Imported from the listed AgentSkill.sh category. Complete supplied package files and notices are retained. Required external tools and credentials are not installed. No bundled code was executed during import. Individual agent task behavior has not been tested.