这是indexloc提供的服务,不要输入任何密码
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion templates/etc/td-agent/td-agent.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need the same change in windows-installer/fluent-template.conf?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated.

# 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
Expand Down
3 changes: 2 additions & 1 deletion templates/etc/td-agent/td-agent.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 2 additions & 1 deletion windows-installer/fluent-template.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down