loki
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
About
- Publisher
- Grafana Labs
- Tool
- Grafana
Works with
Install
MCP servers and skills can run code on your computer and act on your data. Review the source before installing.
Details
| Fact | Value | Source |
|---|---|---|
| Type | Skill | |
| Tool | Grafana | |
| Publisher | Grafana Labs | source |
| Official status | Officialin Grafana Labs' grafana GitHub organisation | source |
| Needs an API key or sign-in | Not stated in its documentation | |
| Includes scripts | No | source |
| Platforms | Not stated in its documentation | |
| AI clients | Claude Code, Cursor, Codex | source |
| Licence | Apache-2.0 | source |
| Pricing | Not stated in its documentation | |
| Activity | Last commit Nov 10, 2026307 GitHub starsDownload data not available (not on npm or PyPI) | source |
| Links | Repository |
More from Grafana Labs
3 servers · 54 skills
- Grafana (MCP server)
- admission-control (Skill)
- app-sdk-concepts (Skill)
- cue-kind-definition (Skill)
- reconciler-logic (Skill)
- adaptive-metrics (Skill)
Sources
- GitHub repositorygithub.com/grafana/skills · Backs: AI clients, Official status, Publisher, Activity, LicenceNov 11, 2026
- Skill file (SKILL.md)github.com/grafana/skills · Backs: LicenceNov 10, 2026
- Folder in the repository (loki)github.com/grafana/skills · Backs: Includes scriptsNov 10, 2026