fluent / fluent-plugin-opensearch

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

Datastream: Template creation is only skipped when template_file is defined #112

Closed Jakob3xD closed 1 year ago

Jakob3xD commented 1 year ago

(check apply)

Steps to replicate

    <match **>
      @type opensearch_data_stream
      hosts xxx
      port 443
      scheme https
      user test
      password xxxxxx
      reconnect_on_error true
      reload_on_failure false
      request_timeout 25s
      ssl_version TLSv1_2
      ssl_verify true
      log_os_400_reason true
      suppress_type_name true
      data_stream_name test_datastream
      data_stream_template_name test_datastream
      include_tag_key true
    </match>

Expected Behavior or What you need to ask

The Data Steam template already exists on the cluster but it still tries to create the template.

Works as expected with plugin version 1.1.0 but brakes with 1.1.2.

Using Fluentd and OpenSearch plugin versions