- Home
- Skills
- DevOps & Cloud
- ELK Log Investigator
ELK Log Investigator
Teaches coding agents to debug production incidents in Elastic Cloud logs with a token-efficient overview, patterns, single-log workflow.
Free
Works with the AI Agents you already use
About this skill
This skill teaches an agent how to use the elk-mcp-server MCP tools (https://github.com/UdayHE/elk_mcp-server) to debug production issues from Elastic Cloud logs. All tools are read-only.
The elk MCP server must be configured in the host (see references/setup.md). If the elk_* tools are not available, tell the user to set it up first and stop.
Follow these steps in order. Each step is cheap and tells you whether the next one is needed.
elk_overview(always first). Pass the region, a time window in hours, and the namespace if known. It returns counts only: a time histogram and top levels, namespaces and pods. Use it to find when the problem started and which pods or namespaces are affected.elk_error_patterns. Deduplicates repeated errors (UUIDs, hex, IPs and numbers are normalized) into ranked patterns with a sample document id and index. Use it to find what is failing, ranked by frequency.elk_get_log. Fetch one full, untruncated document (message and stack trace) using the id and index from a pattern sample.elk_context. Pull logs just before and after a specific moment for a pod or namespace to see what led up to the failure.elk_search. Use for targeted, field-filtered queries. Output is compact TSV and cursor-paginated. Prefer narrow filters over large windows.elk_dump. Only for bulk analysis. It writes JSONL to a local file so you cangrepit without loading results into context.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 29 days ago
- Free with an Agensi account
Requires
Permissions
No special permissions declared or detected