LogQL | Grafana Labs
https://grafana.com/docs/loki/latest/logqlLogQL is Grafana Loki’s PromQL-inspired query language. Queries act as if they are a distributed grep to aggregate log sources. LogQL uses labels and operators for filtering. There are two types of LogQL queries: Log queries return the contents of log lines. Metric queries extend log queries to calculate values based on query results.
PromLabs | PromQL Cheat Sheet
https://promlabs.com/promql-cheat-sheetWant to learn PromQL from the ground up? Check out our self-paced in-depth PromQL training. Selecting series. Select latest sample for series with a given metric name: node_cpu_seconds_total. Open in PromLens. Select 5-minute range of samples for series with a given metric name: