Open
Description
(check apply)
- [ X] read the contribution guideline
- [] (optional) already reported 3rd party upstream repository or mailing list if you use k8s addon or helm charts.
Steps to replicate
Provide example config and message
<label "@#{ENV['ENDPOINT_NAME']}">
<match **>
@type "opensearch_data_stream"
@id "out-aws-es-#{worker_id}"
@log_level "#{ENV['OUTPUT_LOG_LEVEL']}"
log_es_400_reason true
logstash_format false
data_stream_name "ds-#{ENV['ENDPOINT_NAME']}"
include_timestamp true
include_tag_key true
time_key timestamp
flush_interval 5s
slow_flush_log_threshold 135.0
reconnect_on_error true
reload_on_failure true
reload_connections false
request_timeout 300s
<buffer>
@type memory
chunk_limit_size 20MB
flush_mode interval
flush_interval 5s
flush_thread_count 12
flush_at_shutdown true
retry_max_times 2
retry_wait 60s
retry_type exponential_backoff
retry_exponential_backoff_base 3
retry_timeout 30m
overflow_action drop_oldest_chunk
disable_chunk_backup true
total_limit_size "#{ENV['TOTAL_BUFFER_SIZE']}MB"
</buffer>
<endpoint>
url "https://#{ENV['ES_ENDPOINT']}"
region us-east-2
assume_role_arn "#{ENV['COLLECTOR_SVC_ROLE']}"
</endpoint>
</match>
</label>
When using the opensearch plugin, we now get lots of errors like this on our fluentd collectors:
"error": "#<Fluent::Plugin::OpenSearchOutput::RecoverableRequestFailure: could not push logs to OpenSearch cluster (ds-janus): [400] {"Message":"You have exceeded the number of permissible concurrent requests with unique IAM Identities. Please retry."}>"
Expected Behavior or What you need to ask
We're wondering if this is due to fb04e91
Prior to implementing this plugin within our collectors we did not have this problem.
Using Fluentd and OpenSearch plugin versions
Fluentd v1.14.4-1.0
AWS Opensearch 1.2
fluent-plugin-opensearch 1.0.7