Skip to content
This repository has been archived by the owner on Sep 21, 2023. It is now read-only.

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

Open
Tracked by #16
cmacknz opened this issue Mar 30, 2023 · 0 comments
Open
Tracked by #16
Labels
Team:Elastic-Agent Label for the Agent team

Comments

@cmacknz
Copy link
Member

cmacknz commented Mar 30, 2023

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:

// Defaults to runtime.NumCPU()
NumWorkers int `config:"num_workers"`
// Defaults to 5MB
BatchSize int `config:"batch_size"`
// Defaults to 30sec.
FlushTimeout time.Duration `config:"flush_timeout"`

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:

#num_workers: 3
#batch_size: 10000000
#flush_timeout: 30s

@cmacknz cmacknz added the Team:Elastic-Agent Label for the Agent team label Mar 30, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Team:Elastic-Agent Label for the Agent team
Projects
None yet
Development

No branches or pull requests

1 participant