From 7fffd0f8c9440efacb00237b82aa7406cc5998d4 Mon Sep 17 00:00:00 2001 From: Alex K <8418476+fearful-symmetry@users.noreply.github.com> Date: Tue, 17 Oct 2023 11:29:35 -0700 Subject: [PATCH] Fix warning log line in serverless setup (#36867) * fix warning log line * change log line * adjust language --- libbeat/idxmgmt/lifecycle/es_client_handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbeat/idxmgmt/lifecycle/es_client_handler.go b/libbeat/idxmgmt/lifecycle/es_client_handler.go index 5bc6d70eac83..973473449b9d 100644 --- a/libbeat/idxmgmt/lifecycle/es_client_handler.go +++ b/libbeat/idxmgmt/lifecycle/es_client_handler.go @@ -95,7 +95,7 @@ func NewESClientHandler(c ESClient, info beat.Info, cfg RawConfig) (*ESClientHan // if the user has set both to different values, throw a warning, as overwrite operations will probably fail if c.IsServerless() { if cfg.TemplateName != "" && cfg.TemplateName != name { - logp.L().Warnf("policy name is %s but template name is %s; under serverless, non-default template and policy names should be the same. Updates & overwrites may not work.") + logp.L().Warnf("setup.dsl.data_stream_pattern is %s, but setup.template.name is %s; under serverless, non-default template and DSL pattern names should be the same. Additional updates & overwrites to this config will not work.", name, cfg.TemplateName) } }