@@ -181,6 +181,14 @@ You can change the order of received logs from the default descending order (new
...
@@ -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.
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-imageboximg="/img/docs/explore/parsed-fields-7-2.gif"max-width="800px"caption="Toggling parsed fields in Explore">}}
### Loki-specific features
### 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).
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).
-[**Report time range**]({{<relref"#report-time-range">}})
-[**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
...
@@ -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.
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-imageboximg="/img/docs/v72/explore-toggle-parsed-fields.gif"max-width="800px"caption="Toggling parsed fields in Explore">}}
{{<docs-imageboximg="/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
## 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.
Alert notification channels now store sensitive settings and secrets, such as API tokens and passwords, encrypted in the database.