Back to skills
SKILL.md
Loki Query
ASecurityCheck logs with LogQL (Loki/Grafana) — stream selector, filters, redacted samples, rate, investigation report. Evidence-only.
- 8 stars
- 0 votes
- 0 copies
- 0 views
- Added September 6, 2026
Works with
Security analysis
100/100npx -y skills add KhaiTrang1995/agentic-awesome-kits --skill loki-query --agent claude-codeAre you the author of Loki Query?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/khaitrang1995-loki-query)---
name: loki-query
description: Check logs with LogQL (Loki/Grafana) — stream selector, filters, redacted samples, rate, investigation report. Evidence-only.
user-invocable: true
argument-hint: "<service or symptom> [--env prod] [--since 1h] [--level ERROR] [@paste]"
---
# /loki-query — Log Check (Loki)
## Examples
```
/loki-query booking-api --env prod --since 1h
/loki-query "timeout" --service booking-api --since 30m
```
## Process
1. Scope labels + window
2. LogQL plan (`@references/logql-cheat.md`)
3. Analyze paste only — patterns, ≤10 redacted samples, optional rate query
4. Hypotheses + next (`/grafana-explore`, `elk-kit` `/log-check`, incident process)
5. Optional L1 → `docs/ops/grafana/log-checks/LOKI-{date}-{slug}.md`
## Output
`@_templates/loki-log-check.md`
## Rules
- @.claude/rules/grafana-conventions.md
- @.claude/rules/approval-gate.md
Attribution
Comments
Loading comments…