Skip to content
Open
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: 8 additions & 0 deletions pkg/config/config_template.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -987,6 +987,14 @@ api_key:
# name: <RULE_NAME>
# pattern: <RULE_PATTERN>

## @param auto_multi_line_detection - boolean - optional - default: false
## @env DD_LOGS_CONFIG_AUTO_MULTI_LINE_DETECTION - boolean - optional - default: false
## Enable automatic aggregation of multi-line logs for common log patterns.
## More information can be found in Datadog documentation:
## https://docs.datadoghq.com/agent/logs/auto_multiline_detection/?tab=configurationfile
#
# auto_multi_line_detection: true
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The example configuration line should use double hash marks (##) to match the commenting pattern used throughout the file. Currently it has:

# auto_multi_line_detection: true

But should be:

## auto_multi_line_detection: true

This maintains consistency with other commented configuration examples and prevents users from accidentally enabling the setting by simply uncommenting the line.

Suggested change
# auto_multi_line_detection: true
## auto_multi_line_detection: true

Spotted by Diamond

Is this helpful? React 👍 or 👎 to let us know.


## @param force_use_http - boolean - optional - default: false
## @env DD_LOGS_CONFIG_FORCE_USE_HTTP - boolean - optional - default: false
## By default, the Agent sends logs in HTTPS batches to port 443 if HTTPS connectivity can
Expand Down