← Back to tasks
Logs logqllogs5xxendpointaggregation

logql-top-5xx-endpoint

View in GitHub

Instruction

From Loki request logs (JSON lines with HTTP path and numeric status), which API path had the most true 5xx responses in the last six hours? Name that path and give an approximate count (or rate) for it. Also give roughly how many 5xx request log lines fall in the same six-hour window across all paths combined.