Docs: add minimal docs explaining how to use the LogQL Analyzer (#6900)

pull/6922/head
Karen Miller 3 years ago committed by GitHub
parent 88e2705034
commit a02ce69a98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 17
      docs/sources/logql/analyzer.md

@ -1,5 +1,7 @@
---
title: LoqQL Analyzer
menuTitle: LoqQL Analyzer
description: The LogQL Analyzer is an inline educational tool for experimenting with writing LogQL queries.
weight: 60
---
@ -8,6 +10,21 @@ weight: 60
# LogQL Analyzer
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](../log_queries/#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.
<main class="logql-analyzer">
<section class="logs-source panel-container">
<div class="logs-source__header">

Loading…
Cancel
Save