diff --git a/templates/etc/td-agent/td-agent.conf b/templates/etc/td-agent/td-agent.conf index ea809ef7..c22ea00a 100644 --- a/templates/etc/td-agent/td-agent.conf +++ b/templates/etc/td-agent/td-agent.conf @@ -38,7 +38,8 @@ buffer_type file buffer_path /var/log/google-fluentd/buffers # Set the chunk limit conservatively to avoid exceeding the recommended - # chunk size of 5MB per write request. + # chunk size of 10MB per write request. The API request size can be a few + # times bigger than the raw log size. buffer_chunk_limit 512KB # Flush logs every 5 seconds, even if the buffer is not full. flush_interval 5s diff --git a/templates/etc/td-agent/td-agent.conf.tmpl b/templates/etc/td-agent/td-agent.conf.tmpl index ea809ef7..c22ea00a 100644 --- a/templates/etc/td-agent/td-agent.conf.tmpl +++ b/templates/etc/td-agent/td-agent.conf.tmpl @@ -38,7 +38,8 @@ buffer_type file buffer_path /var/log/google-fluentd/buffers # Set the chunk limit conservatively to avoid exceeding the recommended - # chunk size of 5MB per write request. + # chunk size of 10MB per write request. The API request size can be a few + # times bigger than the raw log size. buffer_chunk_limit 512KB # Flush logs every 5 seconds, even if the buffer is not full. flush_interval 5s diff --git a/windows-installer/fluent-template.conf b/windows-installer/fluent-template.conf index c3ac67ac..15a16a93 100644 --- a/windows-installer/fluent-template.conf +++ b/windows-installer/fluent-template.conf @@ -31,7 +31,8 @@ buffer_type file buffer_path /var/log/google-fluentd/buffers # Set the chunk limit conservatively to avoid exceeding the recommended - # chunk size of 5MB per write request. + # chunk size of 10MB per write request. The API request size can be a few + # times bigger than the raw log size. buffer_chunk_limit 512KB flush_interval 5s # Enforce some limit on the number of retries.