Skip to content

Missing documentation for YAML config of elasticsearch output #1575

Open
@sparrowt

Description

@sparrowt

It seems to be difficult to discover how to use the recommended YAML configuration to output to Elasticsearch.

https://docs.fluentbit.io/manual/pipeline/outputs/elasticsearch only has a "classic" config example with no YAML equivalent that I can see, whereas others like this one have both fluent-bit.conf and fluent-bit.yaml examples.

It's also unclear what the name of the output should be because https://docs.fluentbit.io/manual/pipeline/outputs/elasticsearch says it is the es output plugin and the (classic) example has Name es but on this page https://docs.fluentbit.io/manual/administration/configuring-fluent-bit/yaml/pipeline-section it says:

Common output plugins include stdout, elasticsearch, and kafka.

so in fluent-bit.yaml should it be name: es or name: elasticsearch?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions