logql

Installation
SKILL.md

LogQL Reference

LogQL is Grafana Loki's query language for selecting, filtering, parsing, and aggregating log streams. Two query types: log queries (return log lines) and metric queries (return numeric values). Syntax is inspired by PromQL.

Query Structure

{stream selector} | pipeline stage | pipeline stage | ...

The stream selector is mandatory. Pipeline stages are optional and execute left-to-right.

Stream Selectors

Narrow as much as possible — this is the primary index lookup.

Installs
2
GitHub Stars
2
First Seen
Jun 28, 2026
logql — mattstruble/skills