
Description
loki is an agent skill from Grafana's skills collection, listed on skills.sh. It helps an agent work with Grafana Loki, the log aggregation system, and its query language, LogQL. Loki indexes only the metadata labels of logs rather than the full text, which the skill points out is much cheaper than full-text search systems. The skill covers LogQL syntax for log queries and metric queries, label matchers, line filters, parsers and aggregations. Its quick reference shows the stream selector that every query needs, exact and negated matches, regular expression matches, combined labels, and line filters, which should be put first in a pipeline for speed. The skill is a SKILL.md file of instructions that an agent loads when a task calls for it, and it is free to install. Its skills.sh audits show Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.…
Highlights
- Grafana Loki log queries
- LogQL metric queries and aggregations
- Label matchers and stream selectors
- Line filters and parsers
- Free to install
Ratings & Reviews
No ratings yet
Be the first to rate loki.
People also visit

alibabacloud-sls-query
Alibaba Cloud SLS (Simple Log Service) log query & analysis skill
loki FAQ
What does the loki skill do?
It helps an agent write LogQL queries for Grafana Loki, including log and metric queries.
How do I install it?
Run: npx skills add https://github.com/grafana/skills --skill loki
Why does Loki use labels?
It indexes only metadata labels, not the full log content, which the skill says is much cheaper to run.
What should go first in a query?
The line filters, according to the quick reference, for better performance.
Is it free?
Yes. The listing shows it as free.
Has it been checked for security?
skills.sh lists three audits: Gen Agent Trust Hub Pass, Socket Pass and Snyk Pass.
What are the best loki alternatives?
Popular alternatives to loki include loki-label-analyzer, observability-logs-search and cloud-logging-query-generation. See all loki alternatives










