The LogQL Analyzer is an inline tool for experimenting with writing LogQL queries.
Chose the log line format with the radio buttons. A set of example log lines are included for each format.
Use the provided example log lines, or copy and paste your own log lines into the example log lines box.
Use the provided example query, or enter your own query. The log stream selector remains fixed for all possible example queries. Modify the remainder of the log line and click on the Run query button to run the entered query against the example log lines.
The results output provides details for each example log line. Clicking on a line in the results pane expands the details, showing why the line is or is not included in the query result set.
Related Loki resources
Getting started with logging and Grafana Loki (Part 3 of 4)
Join this webinar to learn why correlating metrics and logs is critical across the development lifecycle, and how Loki helps reduce logging costs and operations overhead.
Logging with Loki: Essential configuration settings
This webinar focuses on Grafana Loki configuration including agents Promtail and Docker; the Loki server; and Loki storage for popular backends.