Skip to content

Loki queries

Find any logs containing "ERROR"

{job=~"default/.+"} |= "ERROR"

Find all logs from bot service

{job="default/bot"}

The format is namespace/object

Rate of logs from a service

rate(({job="default/bot"} |= "error" != "timeout")[10s])