From 7315f0a3f617a93fa2d0b9669e060b3c3abb2ac0 Mon Sep 17 00:00:00 2001 From: Brian Dols Date: Thu, 19 Oct 2023 18:55:13 -0500 Subject: [PATCH] raise up logging level to warning when attempting to configure beats with unknown fields from autodiscovered events/environments --- libbeat/autodiscover/template/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbeat/autodiscover/template/config.go b/libbeat/autodiscover/template/config.go index c050ff8acd86..3ba0db210de9 100644 --- a/libbeat/autodiscover/template/config.go +++ b/libbeat/autodiscover/template/config.go @@ -154,7 +154,7 @@ func ApplyConfigTemplate(event bus.Event, configs []*conf.C, options ...ucfg.Opt var unpacked map[string]interface{} err = c.Unpack(&unpacked, opts...) if err != nil { - logp.Debug("autodiscover", "Configuration template cannot be resolved: %v", err) + logp.Warn("autodiscover: Configuration template cannot be resolved: %v", err) continue } // Repack again: