What problem does it solve?
Grafana Loki skill helps engineers quickly locate, parse, and analyze logs across distributed systems by providing clear LogQL query guidance, parsing advice, and ingestion configuration recommendations so troubleshooting and metric extraction are faster and more accurate.
Core Features & Use Cases
- LogQL Query Guidance: Construct selectors, line filters, and metric queries to find errors, rate metrics, and compute aggregates.
- Parsing & Extraction: Advice for JSON, logfmt, pattern, regexp, and unpack parsers plus label and line_format transformations for structured data.
- Ingestion & Architecture Guidance: Examples and recommendations for sending logs via Alloy, Promtail, Fluent Bit, or the HTTP push API and an overview of Loki components for scaling and retention.
- Use Case: Triage a spike in 5xx errors by writing a LogQL query to count errors per service, extracting request durations, and identifying the offending deployment.
Quick Start
Use the loki skill to write a LogQL query that counts error messages per service over the past 5 minutes.