Skip to content
Kitbay

loki

Apache-2.0Updated on Nov 10, 2026307GitHub stars

A Grafana Labs reference skill for Grafana Loki and its query language, LogQL.

What the skill teaches

A Grafana Labs reference skill for Grafana Loki and its query language, LogQL. It gives the agent the syntax for log queries and metric queries: stream selectors, line filters, the json, logfmt, pattern, regexp and unpack parsers, label filters and line formatting, with ready examples such as request rates, error rates by service and latency percentiles taken from log fields. It also covers how Loki is built, getting logs in through Alloy, Promtail or Fluent Bit, structured metadata and Logs Drilldown, for writing queries, configuring Loki and troubleshooting log pipelines.

Capabilities

  • Write LogQL log and metric queries
  • Parse logs with json, logfmt, pattern and regexp
  • Configure log ingestion with Alloy, Promtail or Fluent Bit
  • Use structured metadata