Skip to content

[beats receivers] Test that translated Elasticsearch exporter configurations work with: self-signed certificates, mTLS, and proxies #45491

@cmacknz

Description

@cmacknz

The Elasticsearch exporter and base collector HTTP client configuration exposes the option we need, but we must confirm our translation of the TLS and proxy parameters are correct or we risk breaking customer deployments where these configurations are frequently used.

Setup (ideally automated) tests of translated configuration options showing:

In general that all settings in https://www.elastic.co/docs/reference/beats/filebeat/elasticsearch-output and https://www.elastic.co/docs/reference/beats/filebeat/configuration-ssl should be explicitly tested to confirm that they behave in an equivalent way. It is not enough that the configuration exists, it has to be have in a compatible way.

See https://www.elastic.co/docs/reference/fleet/secure for additional TLS configuration examples.

We let users type anything they want into the Advanced YAML settings box so even if it isn't explicitly documented, the expectation is that if it works now it will keep working. https://www.elastic.co/docs/reference/fleet/es-output-settings#es-output-settings-yaml-config

Acceptance Critera

Automated tests exist proving that the translated collector configurations for beat receivers have not just matching configurations, but matching behavior. For timeouts the timeouts should be explicitly verified to be the same for example. It is not enough that the timeout parameters are set.

Sub-issues

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions