fluent-bit: [error] net_tcp_connect: Can't get addr info
Fluentbit container exits after few mins of starting, and getting Can’t get addr info
/fluent-bit # cat log/fluent-bit.log
[2017/04/04 16:20:25] [ info] [engine] started
[2017/04/04 16:20:25] [ info] [in_fw] binding 0.0.0.0:24224
[2017/04/04 16:20:35] [error] net_tcp_connect: Can't get addr info
[2017/04/04 16:20:40] [error] net_tcp_connect: Can't get addr info
[2017/04/04 16:20:50] [error] net_tcp_connect: Can't get addr info
[2017/04/04 16:20:55] [error] net_tcp_connect: Can't get addr info
[2017/04/04 16:23:14] [ info] [engine] started
[2017/04/04 16:23:14] [ info] [in_fw] binding 0.0.0.0:24224
[2017/04/04 16:23:59] [error] net_tcp_connect: Can't get addr info
[2017/04/04 16:24:15] [ info] [engine] started
[2017/04/04 16:24:15] [ info] [in_fw] binding 0.0.0.0:24224
[2017/04/04 16:26:36] [ info] [engine] started
[2017/04/04 16:26:36] [ info] [in_fw] binding 0.0.0.0:24224
[2017/04/04 16:27:06] [error] net_tcp_connect: Can't get addr info
[2017/04/04 21:36:41] [ info] [engine] started
[2017/04/04 21:36:41] [ info] [in_fw] binding 0.0.0.0:24224
[2017/04/04 21:49:41] [error] net_tcp_connect: Can't get addr info
[2017/04/04 21:51:20] [ info] [engine] started
[2017/04/04 21:51:20] [ info] [in_fw] binding 0.0.0.0:24224
[2017/04/04 21:51:35] [error] net_tcp_connect: Can't get addr info
[2017/04/04 21:51:41] [ info] [engine] started
[2017/04/04 21:51:41] [ info] [in_fw] binding 0.0.0.0:24224
[2017/04/04 22:41:41] [error] net_tcp_connect: Can't get addr info
[2017/04/05 13:11:39] [ info] [engine] started
[2017/04/05 13:11:39] [ info] [in_fw] binding 0.0.0.0:24224
Inside of container, I am able to ping & telnet the ES endpoint, not sure what is the issue here, the error message is very generic and not explicit on what’s expectation for the endpoint here.
[SERVICE]
Flush 5
Daemon Off
Log_Level info
Log_File /fluent-bit/log/fluent-bit.log
[INPUT]
Name Forward
Port 24224
[INPUT]
Name tail
Path /app/logs/
DB /tmp/fluentbit_applogs.db
[INPUT]
Name tail
Path /var/lib/docker/containers/*.log
DB /tmp/fluentbit_docker.db
[OUTPUT]
Name stdout
Match *
[OUTPUT]
Name es
Match *
Host ${ELASTICSEARCH_HOST}
Port ${ELASTICSEARCH_PORT}
Index fluentbit
Logstash_Format true
Logstash_prefix ${LOGSTASH_PREFIX}
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 18 (10 by maintainers)
@edsiper Actually I’m facing the same issue at the moment.