SKILL

elasticsearch

Load when investigating production errors, latency, or trace data — triage order, index patterns, field names, and time-range syntax. Use before hand-rolling a query DSL call or guessing field names.

Target: Target not categorized. Automatically collected · unverified.

Excerpt from the author’s documentation

Extracted from a fixed version of SKILL.md in its original language. This is the author’s documentation; installation, compatibility and runtime results have not been verified by this site.

Read the original English text

Topics in the source

  • Triage order
  • Time range syntax
  • Query logs
  • Query APM traces
  • Query APM errors
  • Tips
  • Kibana Dashboard API Gotchas

Load xh before querying. Use xh-es-search ' ' with JSON in the Bash PAYLOAD environment variable. xh-apm-error-groups builds its own payload. The APM helper reads nested source fields and pairs the first exception's type and message. A missing exception or trace in any sampled group fails the whole result; its diagnostic is safe to report but does not recover evidence or authorize dispatch. The wrapper uses ESURL when set; otherwise it derives https:// from chezmoi data. Configure the hostname with chezmoi and ensure the matching xh session is provisioned. It fails closed when esHost is missing or invalid. State the hypothesis, bound the time window, and identify the scope (one service / one endpoint / one user / system-wide) before querying anything. Write down what a "confirmed" answer looks like — otherwise absence of evidence reads as evidence of absence. Don't start with logs. Work coarse to fine: error/rate spike (is it real?) → APM traces (which transaction) → APM errors (root-cause code path) → logs (raw context). trace.id links all three indices — pull it from an error or slow trace, then {"term": {"trace.id": " "}} for the surrounding logs. | Symptom | Look first | |---|-

This is an excerpt. Refer to the complete source and its current requirements.

Source repository
athal7/dotfiles
Source file
dot_agents/skills/elasticsearch/SKILL.md
Fixed revision
020f267ef55d4b97fc32c63bd9c077f9395faf9e
Read the complete original documentation ↗

Requirements

  • Only the author’s Skill metadata is included. Read the full instructions to check dependencies, licensing and conditions of use.

A small first task

先阅读原作者说明,再决定是否在自己的 AI 工具中使用。

Instructions for your AI tool

Author documentation is not live verification by this site. Without evidence, we do not mark a resource as compatible, safe or free.

Sources and evidence

This record was collected automatically. Its documentation, suitability and runtime behavior have not been manually verified.

Author: athal7/dotfiles · original repository metadata. Documentation review: Not reviewed. Last source check: 2026-11-10T02:00:28.593Z.

Categories are inferred from names, descriptions and paths. They do not establish compatibility.

License and attribution

MIT. Third-party content and copyright remain with their authors. Refer to the original license and terms.

Original license ↗

Synchronization, copying and user-reported success do not mark a resource as runtime-tested.

Limitations and notes

  • Collecting metadata does not mean this site has installed, adapted, runtime-tested or security-reviewed the resource.