Skip to content

Commit

Permalink
raise up logging level to warning when attempting to configure beats …
Browse files Browse the repository at this point in the history
…with unknown fields from autodiscovered events/environments
  • Loading branch information
bdols committed Oct 19, 2023
1 parent 0bd2d73 commit 7315f0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libbeat/autodiscover/template/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7315f0a

Please sign in to comment.