fluent / fluent-operator

Operate Fluent Bit and Fluentd in the Kubernetes way - Previously known as FluentBit Operator
Apache License 2.0
587 stars 250 forks source link

fluentbit/output/elasticsearch: Add writeOperation option #1080

Closed icy closed 8 months ago

icy commented 8 months ago

What this PR does / why we need it:

Add WriteOperation option to output plugin ElasticSearch. This option is supported by the fluentbit perse as seen in https://github.com/fluent/fluent-bit/blob/9d9ac68a2b45a4cedeafbf7c5aba513f494eced6/plugins/out_es/es_conf.c#L304 .

Which issue(s) this PR fixes:

Fixes #

Does this PR introduced a user-facing change?

User now can use option writeOption to adjust their ES bulk api call.

Additional documentation, usage docs, etc.:

benjaminhuo commented 8 months ago

Nicely done, thanks for this! @icy