Investigate logs
Inspect errors, exceptions, timeouts, warning spikes, log volume changes and affected datasets or services.
Turn natural questions into evidence-backed investigations — every write to Elastic previewed, approved and verified.
> Investigate this incident, show me the evidence, separate what's proven from what's suspected, and tell me which outputs are worth creating.
FlexiClaw can produce reports, Case Files, ES|QL, RAG plans or dashboards when useful, while governed actions still go through preview, approval and verification.
This demo shows one workflow end-to-end: from operational intent to a published, verified Kibana dashboard.
FlexiClaw starts with evidence and decides whether the useful next step is a report, a Case File, validated ES|QL, an approval-gated RAG workflow or a Kibana dashboard.
Describe the incident, service, time window, knowledge need or operational question in plain language. FlexiClaw turns that into an investigation plan.
It checks logs, APM traces, metrics, alerts, streams, fields and ES|QL, preferring aggregate evidence before individual samples.
FlexiClaw prepares the relevant output for review: an explanation, report, Case File, ES|QL, RAG plan or dashboard preview.
When an action can write to Elastic or Kibana, FlexiClaw waits for approval and verifies the result before reporting success.
FlexiClaw for Elastic is the Codex plugin surface. It focuses on Elastic observability investigations, auto-dashboards, alert plans, alert triage, daily SRE health reports, integration advisor checks, Case Files, validated ES|QL, RAG workflows that run only after approval, evidence-based reports and dashboard previews when a visual handoff is useful.
Inspect errors, exceptions, timeouts, warning spikes, log volume changes and affected datasets or services.
Review latency, throughput, failure rate, transactions, dependencies and representative traces with baseline comparison.
Check CPU, memory, disk, network, runtime and host signals against application symptoms without jumping from correlation to causation.
Prepare and validate aggregate queries, explain what each query proves and keep result sizes bounded.
Create native investigation dashboard previews before saving, with panel intent tied to the evidence and the incident question.
Publish editable Kibana Lens dashboards only after explicit approval, then verify the saved object before reporting success.
Propose reviewed Kibana alert plans from log baselines, create FlexiClaw-tagged rules after approval and pre-triage firing alerts into Case Files.
Summarize new error signatures, ingestion freshness, dataset trends and observability blind spots that need attention.
Detect hosts without metrics, services without APM and Elastic Agent visibility gaps, then produce read-only setup guidance.
Keep a local incident record with evidence, assumptions, open questions and selected dashboard drilldown evidence.
Preview RAG plans from local documents, Case Files or capped existing Elastic indices, then execute only after approval against the intended target.
Ask approved FlexiClaw RAG indices for similar incidents or operational knowledge, with cited sources in the answer.
Produce RCA drafts, executive summaries and technical reports that separate facts, hypotheses, unknowns and next actions.
The plugin routes natural incident questions to the right Elastic evidence, then explains what is known, what is likely, what was previewed and what still needs validation.
FlexiClaw is designed for natural operational language. The user should not need to know internal tool names or transport details.
FlexiClaw for Elastic is available from the public GitHub repository, byviz/flexiclaw-for-elastic-codex. Install the plugin in Codex, then use a local configuration file. Normal investigation should use a read-only Elastic API key. Dashboard publishing and RAG execution should use separate restricted keys when possible.
codex plugin marketplace add byviz/flexiclaw-for-elastic-codex --ref main
codex plugin add flexiclaw-codex-plugin@flexiclaw
mkdir -p ~/.config/flexiclaw
nano ~/.config/flexiclaw/config.json
{
"kibanaUrl": "https://your-kibana.example.com",
"elasticsearchUrl": "https://your-elasticsearch.example.com",
"apiKey": "your-read-only-api-key",
"dashboardApiKey": "your-dashboard-write-api-key",
"alertingApiKey": "your-alerting-write-api-key",
"rag": {
"inferenceId": "your-elasticsearch-inference-endpoint",
"targetPrefix": "flexiclaw-rag"
}
}
FlexiClaw complements Kibana. Kibana remains the system of record for observability data and dashboards, while FlexiClaw handles intent-driven investigation, preview, approval and verification.
Use AI agents in Codex to investigate real Elastic observability data, prepare evidence-backed dashboard previews, keep Case Files, build RAG workflows that run only after approval and verify what was saved.