fluent / fluent-plugin-opensearch

OpenSearch Plugin for Fluentd
Apache License 2.0
58 stars 20 forks source link

For OpenSearch, suppress_type_name should be default. #100

Open nateynateynate opened 1 year ago

nateynateynate commented 1 year ago

(check apply)

Is your feature request related to a problem? Please describe.

OpenSearch has done away with document types as of many versions ago. Rather than providing type names by default, this option should default to false and let the flag be set to true if desired for backwards compatibility.

Describe the solution you'd like

Output plugin opensearch should have 'suppress_type_name' enabled by default, and require disabling via flags in config.

Describe alternatives you've considered

N/A

Additional context

Just trying to make it easier for OpenSearch users to make use of fluent-bit.

cosmo0920 commented 1 year ago

@kenhys @ashie Could you all handle on this?