ad-events:
# Defines the content of the source section
source: {
type: 'forward',
port: 24221,
bind: '127.0.0.1',
tag: 'gg.adevent'
}
# Defines the content of the match section
match:
general: {
type: forward,
buffer_type: memory,
buffer_queue_limit: 128,
send_timeout: 10s,
recover_wait: 10s,
heartbeat_interval: 2s,
phi_threshold: 5,
hard_timeout: 10s,
flush_interval: 5s,
retry_limit: 2
}
subsections:
server: [
{
name: "aggregator-{{ fluentd_aggregator_ips[0] }}",
host: "{{ fluentd_aggregator_ips[0] }}",
weight: 33,
port: 24221
},
{
name: "aggregator-{{ fluentd_aggregator_ips[1] }}",
host: "{{ fluentd_aggregator_ips[1] }}",
weight: 33,
port: 24221
},
{
name: "aggregator-{{ fluentd_aggregator_ips[2] }}",
host: "{{ fluentd_aggregator_ips[2] }}",
weight: 33,
port: 24221
},
{
name: "aggregator-{{ fluentd_aggregator_ips[3] }}",
host: "{{ fluentd_aggregator_ips[3] }}",
weight: 33,
port: 24221
},
{
name: "aggregator-{{ fluentd_aggregator_ips[4] }}",
host: "{{ fluentd_aggregator_ips[4] }}",
weight: 33,
port: 24221
},
{
name: "aggregator-{{ fluentd_aggregator_ips[5] }}",
host: "{{ fluentd_aggregator_ips[5] }}",
weight: 33,
port: 24221
}
]
# Secondary section will forward back to a local backup socket
# Which will trigger the standalone mode (Collect and S3 upload)
# On the client
secondary: [
{
type: 'forward',
host: '127.0.0.1',
port: 34221
}
]
Hi-
We're using the fluent-plugin-multiprocess plugin and sometimes td-agent binds to 0.0.0.0 instead of 127.0.0.1, when we have the following specified in our configs:
This prevents things from actually shipping logs for us on that specific port, in those times td-agent binds to 0.0.0.0 instead of localhost 127.0.0.1. The issue recurs often, but is not consistently reproducible for us and the logs just say:

The "fix"/remediation for the issue has been to just stop/start td-agent, which then allows td-agent to bind to localhost instead of 0.0.0.0.
The versions from the startup of the agent are:
If you have and advice on what the issue might be, it'd be much appreciated.
Best regards!!!!
Jonathan