loki-logql-query-specialist
CommunityQuery Loki logs with LogQL for tracing.
System Documentation
What problem does it solve?
This Skill helps you query Loki logs using LogQL with patterns optimized for correlation tracing, error investigation, and service debugging. It provides practical templates and guidance for extracting correlation IDs, filtering by service, and parsing JSON fields, reducing time spent hunting through logs.
Core Features & Use Cases
- Correlation ID Tracing: Find logs across services that share the same correlation ID.
- Error Investigation: Pattern-based queries to surface errors with context.
- Service-Specific Queries: Filter by container or service to narrow results.
- Promtail Labeling Guidance: Learn how labels affect query performance and organization.
- Grafana & Loki Integration: Use queries in Grafana panels or Loki API.
Quick Start
Run a Loki query in Grafana or Loki API using a sample correlation_id value. Example: {container=~"huleedu_.*"} |= "correlation_id_value" and refine the container or service labels as needed to isolate results across the stack.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: loki-logql-query-specialist Download link: https://github.com/paunchygent/docforge/archive/main.zip#loki-logql-query-specialist Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.