mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
Loki: Update docs for show context (#67202)
* Loki: Update docs for show context * Update docs/sources/datasources/loki/query-editor/index.md Co-authored-by: Matias Chomicki <matyax@gmail.com> * Update docs/sources/datasources/loki/query-editor/index.md Co-authored-by: J Stickler <julie.stickler@grafana.com> --------- Co-authored-by: Matias Chomicki <matyax@gmail.com> Co-authored-by: J Stickler <julie.stickler@grafana.com>
This commit is contained in:
co-authored by
Matias Chomicki
J Stickler
parent
969ad1b4e0
commit
cf82fafb53
@@ -101,9 +101,9 @@ For more information about log queries and LogQL, refer to the [Loki log queries
|
||||
|
||||
### Show log context
|
||||
|
||||
When using a search expression as detailed above, you can retrieve the context surrounding your filtered results.
|
||||
By clicking the `Show Context` link on the filtered rows, you'll be able to investigate the log messages that came before and after the
|
||||
log message you're interested in.
|
||||
In Explore, you can can retrieve the context surrounding your log results by clicking the `Show Context` button. You'll be able to investigate the logs from the same log stream that came before and after the log message you're interested in.
|
||||
|
||||
The initial log context query is created from all labels defining the stream for the selected log line. You can use the log context query editor to widen the search by removing one or more of the label filters from log stream. Additionally, if you used a parser in your original query, you can refine your search by using extracted labels filters.
|
||||
|
||||
### Tail live logs
|
||||
|
||||
|
||||
Reference in New Issue
Block a user