diff --git a/docs/sources/explore/logs-integration.md b/docs/sources/explore/logs-integration.md index 1ee9764cb76..940fa111bca 100644 --- a/docs/sources/explore/logs-integration.md +++ b/docs/sources/explore/logs-integration.md @@ -71,6 +71,10 @@ Shows or hides the unique labels column that includes only non-common labels. Al Set this to True if you want the display to use line wrapping. If set to False, it will result in horizontal scrolling. +#### Prettify JSON + +Set this to `true` to pretty print all JSON logs. This setting does not affect logs in any format other than JSON. + #### Deduping Log data can be very repetitive and Explore can help by hiding duplicate log lines. There are a few different deduplication algorithms that you can use: diff --git a/docs/sources/panels/visualizations/logs-panel.md b/docs/sources/panels/visualizations/logs-panel.md index 66121d25229..b8f62cb2410 100644 --- a/docs/sources/panels/visualizations/logs-panel.md +++ b/docs/sources/panels/visualizations/logs-panel.md @@ -35,5 +35,6 @@ Use these settings to refine your visualization: - **Unique labels -** Show or hide the unique labels column, which shows only non-common labels. - **Common labels -** Show or hide the common labels. - **Wrap lines -** Toggle line wrapping. +- **Prettify JSON -** Set this to `true` to pretty print all JSON logs. This setting does not affect logs in any format other than JSON. - **Enable log details -** Toggle option to see the log details view for each log row. The default setting is true. - **Order -** Display results in descending or ascending time order. The default is **Descending**, showing the newest logs first. Set to **Ascending** to show the oldest log lines first.