# Loki

> Grafana Loki log aggregation reference. Covers LogQL query language (stream selectors, line filters, JSON/logfmt parsers, aggregations), Loki vs ELK comparison, Helm deployment, Promtail and Grafana Alloy agent config, and storage setup.

- Skill: `bytesagain/loki` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add bytesagain/loki`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bytesagain/loki/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: bytesagain (https://skillmd.com/u/bytesagain)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/bytesagain/loki

---


# Loki Reference

Like Prometheus, but for logs.

## Commands

| Command | Description |
|---------|-------------|
| `intro` | Architecture, vs ELK |
| `logql` | LogQL queries, parsers |
| `config` | Deploy, Promtail, Alloy |

