Skip to content

Commit

Permalink
Bind auto_multi_line_detection_custom_samples to env var (#32788)
Browse files Browse the repository at this point in the history
  • Loading branch information
gh123man authored and mwdd146980 committed Jan 10, 2025
1 parent 9c49640 commit 235a51a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/config/setup/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -1567,6 +1567,7 @@ func logsagent(config pkgconfigmodel.Setup) {

// Experimental auto multiline detection settings (these are subject to change until the feature is no longer experimental)
config.BindEnvAndSetDefault("logs_config.experimental_auto_multi_line_detection", false)
config.BindEnv("logs_config.auto_multi_line_detection_custom_samples")
config.SetKnown("logs_config.auto_multi_line_detection_custom_samples")
config.BindEnvAndSetDefault("logs_config.auto_multi_line.enable_json_detection", true)
config.BindEnvAndSetDefault("logs_config.auto_multi_line.enable_datetime_detection", true)
Expand Down

0 comments on commit 235a51a

Please sign in to comment.