elastic / elastic-agent-shipper

Data shipper for the Elastic Agent - single, unified way to add monitoring for logs, metrics, and other types of data to a host.
Other
9 stars 19 forks source link

Decide what the default shipper Elasticsearch output configuration should be #291

Open cmacknz opened 1 year ago

cmacknz commented 1 year ago

The Elasticsearch output in the shipper is not the same as Beats and is configured differently. We need to decide what the default configuration should be when no other output parameters have been configured.

The current defaults configured in the code are:

https://github.com/elastic/elastic-agent-shipper/blob/a526fd696ec6444600abb718caa2dd04798beb8a/output/elasticsearch/config.go#L47-L54

We should decide if these are the correct defaults before the shipper beta.

We should also ensure the defaults in the code match the defaults in the reference configuration:

https://github.com/elastic/elastic-agent-shipper/blob/a526fd696ec6444600abb718caa2dd04798beb8a/elastic-agent-shipper.yml#L193-L195