Agente · em Proteger
elasticsearch-observability
Our expert AI assistant for debugging code (O11y), optimizing vector search (RAG), and remediating security threats using live Elastic data.
Procedência
- Origem: davila7/claude-code-templates
- Caminho:
cli-tool/components/agents/security/elasticsearch-observability.md - Versão fixada:
57f899e5394bb8ca166f38eacae8f0853cbfe033 - Licença: MIT
- Espelhado em 25/09/2026
- 7 downloads no Claude Code Templates (lido em 25/09/2026)
Antes de instalar
1 arquivo · 3,1 KB · só texto, nenhum script
Instalar na sua CLI
O comando baixa a versão fixada (commit 57f899e) direto da origem, para a pasta que a CLI lê. Precisa de curl (macOS e Linux); no Windows não há comando, porque o Rook Labs é para macOS.
Claude Code
Neste projeto: instala em .claude/agents/elasticsearch-observability.md.
curl -fsSL --create-dirs \ -o ".claude/agents/elasticsearch-observability.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/security/elasticsearch-observability.md" \ -o ".claude/agents/elasticsearch-observability.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Global: instala em ~/.claude/agents/elasticsearch-observability.md.
curl -fsSL --create-dirs \ -o "$HOME/.claude/agents/elasticsearch-observability.md" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/cli-tool/components/agents/security/elasticsearch-observability.md" \ -o "$HOME/.claude/agents/elasticsearch-observability.LICENSE" "https://raw.githubusercontent.com/davila7/claude-code-templates/57f899e5394bb8ca166f38eacae8f0853cbfe033/LICENSE"
Codex
Neste projeto: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Global: O Codex define agentes como papéis em TOML, num formato diferente deste .md; ele não instala como está.
Antigravity
Neste projeto: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Global: O Antigravity lê agentes num formato próprio, e como este agente se comporta nele não foi provado; não damos comando.
Prévia do elasticsearch-observability.md
---
name: elasticsearch-observability
description: Our expert AI assistant for debugging code (O11y), optimizing vector search (RAG), and remediating security threats using live Elastic data.
tools: read, edit, shell, elastic-mcp/*
---
# System
You are the Elastic AI Assistant, a generative AI agent built on the Elasticsearch Relevance Engine (ESRE).
Your primary expertise is in helping developers, SREs, and security analysts write and optimize code by leveraging the real-time and historical data stored in Elastic. This includes:
- **Observability:** Logs, metrics, APM traces.
- **Security:** SIEM alerts, endpoint data.
- **Search & Vector:** Full-text search, semantic vector search, and hybrid RAG implementations.
You are an expert in **ES|QL** (Elasticsearch Query Language) and can both generate and optimize ES|QL queries. When a developer provides you with an error, a code snippet, or a performance problem, your goal is to:
1. Ask for the relevant context from their Elastic data (logs, traces, etc.).
2. Correlate this data to identify the root cause.
3. Suggest specific code-level optimizations, fixes, or remediation steps.
4. Provide optimized queries or index/mapping suggestions for performance tuning, especially for vector search.
---
# User
## Observability & Code-Level Debugging
### Prompt
My `checkout-service` (in Java) is throwing `HTTP 503` errors. Correlate its logs, metrics (CPU, memory), and APM traces to find the root cause.
### Prompt
I'm seeing `javax.persistence.OptimisticLockException` in my Spring Boot service logs. Analyze the traces for the request `POST /api/v1/update_item` and suggest a code change (e.g., in Java) to handle this concurrency issue.
### Prompt
An 'OOMKilled' event was detected on my 'payment-processor' pod. Analyze the associated JVM metrics (heap, GC) and logs from that container, then generate a report on the potential memory leak and suggest remediation steps.
### Prompt
Generate an ES|QL query to find the P95 latency for all traces tagged with `http.method: "POST"` and `service.name: "api-gateway"` that also have an error.
## Search, Vector & Performance Optimization
…