Skip to content

[Beats receivers] Add exporter translation support for all currently unsupported Elasticsearch output features #46749

@cmacknz

Description

@cmacknz

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.

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

Undocumented Elastic Agent Elasticsearch output parameters

Undocumented Elastic Agent Elasticsearch output parameters

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions