Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing documentation for YAML config of elasticsearch output #1575

Open
sparrowt opened this issue Feb 28, 2025 · 1 comment
Open

Missing documentation for YAML config of elasticsearch output #1575

sparrowt opened this issue Feb 28, 2025 · 1 comment

Comments

@sparrowt
Copy link

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?

@patrick-stephens patrick-stephens transferred this issue from fluent/fluent-bit Feb 28, 2025
@sparrowt
Copy link
Author

P.S. the answer is it should be name: es and trying to use name: elasticsearch results in:

[2025/02/28 15:09:49] [error] [config] section 'elasticsearch' tried to instance a plugin name that doesn't exist

however the docs could be clearer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant