Skip to content

Commit 2432b3f

Browse files
committed
Improve buffer settings for file usage for second stream too
1 parent 272b0df commit 2432b3f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fluent.conf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@
8484
<buffer>
8585
@type file
8686
path /fluentd/log/elastic-buffer
87+
chunk_limit_size "#{ENV['FLUENT_OPENSEARCH_BUFFER_CHUNK_LIMIT_SIZE'] || '256MB'}"
88+
total_limit_size "#{ENV['FLUENT_OPENSEARCH_BUFFER_TOTAL_LIMIT_SIZE'] || '64GB'}"
8789
flush_thread_count "#{ENV['FLUENT_OPENSEARCH_BUFFER_FLUSH_THREAD_COUNT'] || '8'}"
8890
flush_interval "#{ENV['FLUENT_OPENSEARCH_BUFFER_FLUSH_INTERVAL'] || '1s'}"
89-
chunk_limit_size "#{ENV['FLUENT_OPENSEARCH_BUFFER_CHUNK_LIMIT_SIZE'] || '32M'}"
90-
queue_limit_length "#{ENV['FLUENT_OPENSEARCH_BUFFER_QUEUE_LIMIT_LENGTH'] || '4'}"
9191
retry_max_interval "#{ENV['FLUENT_OPENSEARCH_BUFFER_RETRY_MAX_INTERVAL'] || '30'}"
9292
flush_mode interval
9393
retry_forever true

0 commit comments

Comments
 (0)