Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions content/en/agent/logs/auto_multiline_detection.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,26 +12,26 @@ algolia:
tags: ['advanced log filter']
---

<div class="alert alert-danger">This feature is available for Agent version <strong>7.65.0+</strong> and above. For older Agent versions or to explicitly enable the legacy implementation, see <a href="/agent/logs/auto_multiline_detection_legacy">Auto Multi-line Detection and Aggregation (Legacy)</a>.</div>
<div class="alert alert-danger">This feature is available for Agent version <strong>7.65.0+</strong> and above. For older Agent versions or to explicitly enable the legacy implementation, see <a href="/agent/logs/auto_multiline_detection_legacy">Auto Multi-line Detection and Aggregation (Legacy)</a>. For Agent versions older than <strong>7.82.x</strong>, Auto multi-line Detection is disabled by default.</div>

## Overview

Automatic multi-line detection allows the Agent to detect and aggregate common multi-line logs automatically.

## Getting started

To enable the Auto multi-line feature in your Agent configuration, set `auto_multi_line_detection` to `true` in your configuration file, or set the `DD_LOGS_CONFIG_AUTO_MULTI_LINE_DETECTION=true` environment variable:
Auto multi-line detection is enabled by default. To disable the Auto multi-line feature in your Agent configuration, set `auto_multi_line_detection` to `false` in your configuration file, or set the `DD_LOGS_CONFIG_AUTO_MULTI_LINE_DETECTION=false` environment variable:

{{< tabs >}}
{{% tab "Configuration file" %}}
```yaml
logs_config:
auto_multi_line_detection: true
auto_multi_line_detection: false
```
{{% /tab %}}
{{% tab "Environment Variable" %}}
```shell
DD_LOGS_CONFIG_AUTO_MULTI_LINE_DETECTION=true
DD_LOGS_CONFIG_AUTO_MULTI_LINE_DETECTION=false
```
{{% /tab %}}
{{< /tabs >}}
Expand Down
Loading