-
Notifications
You must be signed in to change notification settings - Fork 5k
Description
The list of Elasticsearch output parameters that currently cannot be translated to the Elasticsearch exporter is currently defined below. These parameters will cause Elastic Agent to fall back to the sub-process runtime when they are used, preventing adoption of Beats receivers.
beats/libbeat/otelbeat/oteltranslate/outputs/elasticsearch/config_otel.go
Lines 166 to 187 in 4ba000d
| func checkUnsupportedConfig(cfg *config.C, logger *logp.Logger) error { | |
| if cfg.HasField("indices") { | |
| return fmt.Errorf("indices is currently not supported: %w", errors.ErrUnsupported) | |
| } else if cfg.HasField("pipelines") { | |
| return fmt.Errorf("pipelines is currently not supported: %w", errors.ErrUnsupported) | |
| } else if cfg.HasField("parameters") { | |
| return fmt.Errorf("parameters is currently not supported: %w", errors.ErrUnsupported) | |
| } else if value, err := cfg.Bool("allow_older_versions", -1); err == nil && !value { | |
| return fmt.Errorf("allow_older_versions:false is currently not supported: %w", errors.ErrUnsupported) | |
| } else if cfg.HasField("loadbalance") { | |
| return fmt.Errorf("loadbalance is currently not supported: %w", errors.ErrUnsupported) | |
| } else if cfg.HasField("non_indexable_policy") { | |
| return fmt.Errorf("non_indexable_policy is currently not supported: %w", errors.ErrUnsupported) | |
| } else if cfg.HasField("escape_html") { | |
| return fmt.Errorf("escape_html is currently not supported: %w", errors.ErrUnsupported) | |
| } else if cfg.HasField("kerberos") { | |
| return fmt.Errorf("kerberos is currently not supported: %w", errors.ErrUnsupported) | |
| } | |
| return nil | |
| } | |
Documented Elastic Agent Elasticsearch output parameters
-
[ ]allow_older_versionswe will always support connecting to older versions of ES.allow_older_version:falsewill not be supported -
[ ]pipelines// this setting does not work with standalone elastic-agent hence dropping support on beatreceivers -
kerberos -
parameters -
[ ]Not planned to be done. Should be deprecatedescape_html
Undocumented Elastic Agent Elasticsearch output parameters
-
loadbalance- Filebeat https://www.elastic.co/docs/reference/beats/filebeat/elasticsearch-output#_loadbalance
- This one is definitely used with some frequency.
-
[ ]indices- Indices can be implemented using attribute processor in OTel
-
[ ]is in tech preview and we will not support this on beatreceiversnon_indexable_policy- Filebeat https://www.elastic.co/docs/reference/beats/filebeat/elasticsearch-output#_non_indexable_policy
- Dead letter index should probably be deprecated, removed, and replaced with the failure store.
-
ssl.restart_on_cert_change.*