Description
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
, andkafka
.
so in fluent-bit.yaml should it be name: es
or name: elasticsearch
?