UI はローカライズ済みです。スキルの紹介と説明文書は選択した言語へ AI が自動翻訳し、コード・コマンド・パス・専門用語は原文のままです。原作者の文書が優先されます。
スキルを探す
データ・研究 · SKILL.md

elastic

elastic

Search and analyze data via Elasticsearch API. Index, search, and manage clusters.

Independent GitHub snapshot · Automated classification · Original documentation governs

スキルの説明

GitHub

name: elastic 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

export ELASTICSEARCH_URL="https://elastic.example.com:9200"
export ELASTICSEARCH_API_KEY="xxxxxxxxxx"

Cluster Health

curl "$ELASTICSEARCH_URL/_cluster/health" -H "Authorization: ApiKey $ELASTICSEARCH_API_KEY"

Search

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

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

保存したスキル