diff --git a/x-pack/elastic-agent/docs/elastic-agent_configuration_example.yml b/x-pack/elastic-agent/docs/elastic-agent_configuration_example.yml index 5673f4e724e1..261862e7e7f2 100644 --- a/x-pack/elastic-agent/docs/elastic-agent_configuration_example.yml +++ b/x-pack/elastic-agent/docs/elastic-agent_configuration_example.yml @@ -110,6 +110,7 @@ inputs: name: epm/nginx version: 1.7.0 dataset.namespace: prod + # constraints are still Experimental and should not be used in production. constraints?: # Contraints look are not final - os.platform: { in: "windows" } @@ -129,6 +130,7 @@ inputs: name: epm/nginx version: 1.7.0 dataset.namespace: prod + # constraints are still Experimental and should not be used in production. constraints?: # Contraints look are not final - os.platform: { in: "windows" } diff --git a/x-pack/elastic-agent/pkg/agent/application/filters/constraints_filter.go b/x-pack/elastic-agent/pkg/agent/application/filters/constraints_filter.go index c891cefb056f..d9abd6c7aa31 100644 --- a/x-pack/elastic-agent/pkg/agent/application/filters/constraints_filter.go +++ b/x-pack/elastic-agent/pkg/agent/application/filters/constraints_filter.go @@ -28,6 +28,7 @@ var ( ) // ConstraintFilter filters ast based on included constraints. +// constraints are still Experimental and should not be used in production. func ConstraintFilter(log *logger.Logger, ast *transpiler.AST) error { // get datasources inputsNode, found := transpiler.Lookup(ast, inputsKey) diff --git a/x-pack/elastic-agent/pkg/agent/warn/warn.go b/x-pack/elastic-agent/pkg/agent/warn/warn.go index c3b97079aa11..03d746992f6e 100644 --- a/x-pack/elastic-agent/pkg/agent/warn/warn.go +++ b/x-pack/elastic-agent/pkg/agent/warn/warn.go @@ -11,7 +11,7 @@ import ( "github.com/elastic/beats/v7/x-pack/elastic-agent/pkg/core/logger" ) -const message = "The Elastic Agent is currently in Experimental and should not be used in production" +const message = "The Elastic Agent is currently in BETA and should not be used in production" // LogNotGA warns the users in the log that the Elastic Agent is not GA. func LogNotGA(log *logger.Logger) {