OBSERVABILITY / Grafana Labs
Grafana Loki
Pins Grafana's Loki skill for LogQL stream selectors, parsers, and the push and read paths it names.
“Grafana Loki log aggregation and LogQL query language. Covers LogQL syntax (log queries, metric queries, label matchers, line filters, parsers: json/logfmt/pattern/regexp/unpack, label filters, line_format), Loki architecture, log ingestion via Alloy/Promtail/Fluent Bit, structured metadata, and Logs Drilldown. Use when writing LogQL queries, configuring Loki, troubleshooting log pipelines, or analyzing logs.”
01 / THE REASONING
Why this made the selection.
- The catalogue has Grafana Alloy, PromQL, and Mimir skills and not this Loki skill.
- The file says every LogQL query needs a stream selector and puts line filters ahead of parsers for performance.
02 / THE REVIEW RECORD
What we actually inspected.
Source review has boundaries.
A clear record is more useful than a “safe” badge.
Material inspected
- skills/grafana-lgtm/loki/SKILL.md
- README.md
- LICENSE
Our findings
- The skill says Loki indexes labels rather than full log content, and it marks a stream selector as required in every query.
- It puts line filters first in the pipeline and then shows json, logfmt, pattern, regexp, and unpack parsers.
- Its architecture section names a push path through distributor and ingester into object storage, and a read path through query frontend and querier. Those components were not deployed.
- The LogQL reference includes absent_over_time for absence alerting, separately from line counts and byte-rate queries.
Not established by this review
- The resource was not executed and its tools were not called.
- No LogQL query was sent.
- No Loki process was started.
- The Grafana docs link was not opened.
- Not executed: it was not installed or run.
The review applies to the material and revision named here. A newer upstream release can change its behavior.
03 / PUT IT TO WORK
Add a skill to your workflow.
DOCUMENTED COMMAND
npx skills add grafana/skills --skill loki Run in your terminal to choose your AI tools, project or global scope, and installation method. This short command follows the current upstream version; the review covers the revision shown above.
- The README documents npx skills add grafana/skills and npx skills add grafana/skills --skill <name>. The table names this skill loki.
- That command does not pin revision 1ccacf29049fde66637fe01ab93a83a772da323b. Inspect the installed SKILL.md against that revision before use.
- Choose the host and project scope in the installer. Do not put a Grafana API key in the skill file; the reviewed example reads it from the environment.
Before you start
- Node.js and npm for the documented Skills installer
- A Loki or Grafana Cloud Logs endpoint only if you run the push examples
04 / FOLLOW THE EVIDENCE
The source trail.
Our notes are separate from the original resource.
Check upstream before adopting a new version.
- loki SKILL.md ↗Checked
https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-lgtm/loki/SKILL.md
Supports: label index claim, required selector, and architecture
- Repository README ↗Checked
https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/README.md
Supports: grafana-lgtm install line and Loki row
- Repository LICENSE ↗Checked
https://github.com/grafana/skills/blob/1ccacf29049fde66637fe01ab93a83a772da323b/LICENSE
Supports: Apache License Version 2.0
https://raw.githubusercontent.com/grafana/skills/1ccacf29049fde66637fe01ab93a83a772da323b/skills/grafana-lgtm/loki/SKILL.md
Supports: review.findings, bestFor