docs: hint on line and timestamp functions in docs for line_format stage (#12740)

Co-authored-by: J Stickler <julie.stickler@grafana.com>
callum-ruler-local-warn
Sandeep Sukhani 2 years ago committed by GitHub
parent 74db5dda3c
commit c3a3bc396f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      docs/sources/query/log_queries/_index.md

@ -595,7 +595,7 @@ If we have the following labels `ip=1.1.1.1`, `status=200` and `duration=3000`(m
The above query will give us the `line` as `1.1.1.1 200 3`
See [template functions]({{< relref "../template_functions" >}}) to learn about available functions in the template format.
Additionally, you can also access the log line using the [`__line__`](https://grafana.com/docs/loki/<LOKI_VERSION>/query/template_functions/#__line__) function and the timestamp using the [`__timestamp__`](https://grafana.com/docs/loki/<LOKI_VERSION>/query/template_functions/#__timestamp__) function. See [template functions](https://grafana.com/docs/loki/<LOKI_VERSION>/query/template_functions/) to learn about available functions in the template format.
### Labels format expression

Loading…
Cancel
Save