From 5d491d0cd14332ca078413a1dbdc4c1777ab71a0 Mon Sep 17 00:00:00 2001 From: Jesse Szwedko Date: Wed, 28 May 2025 14:38:07 -0700 Subject: [PATCH 1/2] Document auto_multi_line_detection in config template This is an option we'd like to encourage use of and is commonly enabled by customers. --- pkg/config/config_template.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pkg/config/config_template.yaml b/pkg/config/config_template.yaml index 454fa9831b5e..bbbfe19c4d8d 100644 --- a/pkg/config/config_template.yaml +++ b/pkg/config/config_template.yaml @@ -987,6 +987,14 @@ api_key: # name: # 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 multiline 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 + ## @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 From c66b1eceeb131fd28be931c51f0bc569a8b44a52 Mon Sep 17 00:00:00 2001 From: Jesse Szwedko Date: Wed, 28 May 2025 14:49:05 -0700 Subject: [PATCH 2/2] Update pkg/config/config_template.yaml Co-authored-by: DeForest Richards <56796055+drichards-87@users.noreply.github.com> --- pkg/config/config_template.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/config_template.yaml b/pkg/config/config_template.yaml index bbbfe19c4d8d..300b11cd8217 100644 --- a/pkg/config/config_template.yaml +++ b/pkg/config/config_template.yaml @@ -989,7 +989,7 @@ api_key: ## @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 multiline logs for common log patterns. + ## 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 #