diff --git a/docs/sources/features/explore/index.md b/docs/sources/features/explore/index.md index d5cd22395da..ab2b2524155 100755 --- a/docs/sources/features/explore/index.md +++ b/docs/sources/features/explore/index.md @@ -181,6 +181,14 @@ You can change the order of received logs from the default descending order (new Each log row has an extendable area with its labels and parsed fields, for more robust interaction. For all labels we have added the ability to filter for (positive filter) and filter out (negative filter) selected labels. Each field or label also has a stats icon to display ad-hoc statistics in relation to all displayed logs. +### Toggle parsed fields + +> **Note:** This feature is only available in Grafana 7.2+. + +If your logs are structured in `json` or `logfmt`, then you can show or hide parsed fields. Expand a log line and then click the eye icon to show or hide fields. + +{{< docs-imagebox img="/img/docs/explore/parsed-fields-7-2.gif" max-width="800px" caption="Toggling parsed fields in Explore" >}} + ### Loki-specific features As mentioned, one of the log integrations is for the new open source log aggregation system from Grafana Labs - [Loki](https://github.com/grafana/loki). Loki is designed to be very cost effective, as it does not index the contents of the logs, but rather a set of labels for each log stream. The logs from Loki are queried in a similar way to querying with label selectors in Prometheus. It uses labels to group log streams which can be made to match up with your Prometheus labels. Read more about Grafana Loki [here](https://github.com/grafana/loki) or the Grafana Labs hosted variant: [Grafana Cloud Logs](https://grafana.com/loki). diff --git a/docs/sources/guides/whats-new-in-v7-2.md b/docs/sources/guides/whats-new-in-v7-2.md index a74e4cb15a8..9bf6beb9772 100644 --- a/docs/sources/guides/whats-new-in-v7-2.md +++ b/docs/sources/guides/whats-new-in-v7-2.md @@ -26,7 +26,7 @@ The main highlights are: - [**Drag to reorder queries**]({{< relref "#drag-to-reorder-queries" >}}) - [**Inspect queries in Explore**]({{< relref "#inspect-queries-in-explore" >}}) - [**$__rate_interval for Prometheus**]({{< relref "#__rate_interval-for-prometheus" >}}) -- [**Toggle parsed Loki fields**]({{< relref "#toggle-parsed-loki-fields" >}}) +- [**Toggle parsed log fields**]({{< relref "#toggle-parsed-log-fields" >}}) - [**Sensitive alert channel settings are now encrypted**]({{< relref "#sensitive-alert-channel-settings-are-now-encrypted" >}}) - [**Grafana Enterprise features**]({{< relref "#grafana-enterprise-features" >}}) - [**Report time range**]({{< relref "#report-time-range" >}}) @@ -99,12 +99,14 @@ You can enjoy all the details query inspector gave you in dashboards now in Expl You can now use the new variable `$__rate_interval` in Prometheus for rate functions mainly. `$__rate_interval` in general is one scrape interval larger than `$__interval` but is never smaller than four times the scrape interval (which is 15s by default). See the [Prometheus data source]({{< relref "../features/datasources/prometheus.md#using-__rate_interval-variable" >}}) for more details. -## Toggle parsed Loki fields +## Toggle parsed log fields -With this awesome contribution from one of our community members, you can now toggle parsed fields in Explore. +With this awesome contribution from one of our community members, you can now toggle parsed fields in Explore if your logs are structured in `json` or `logfmt`. {{< docs-imagebox img="/img/docs/v72/explore-toggle-parsed-fields.gif" max-width="800px" caption="Toggling parsed fields in Explore" >}} +The [Toggle parsed fields]({{< relref "../features/explore/index.md#toggle-parsed-fields" >}}) section has been added to [Explore]({{< relref "../features/explore/index.md" >}}) as a result of this feature. + ## Sensitive alert channel settings are now encrypted Alert notification channels now store sensitive settings and secrets, such as API tokens and passwords, encrypted in the database.