Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.
This repository was 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
@cmacknz

Description

@cmacknz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions