You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running fluent-bit:2.2.1 docker container with elasticsearch:8.11.3, kibana:8.11.3 containers via docker-compose, I get warning message and the log transferring does not happen.
The host server is Centos 7.
If I replace the fluent-bit:2.2.1 with the fluent-bit:2.2.0, then everything works fine.
The warning message:
[2024/01/02 16:48:39] [ info] [output:es:es.9] worker #1 started
[2024/01/02 16:48:39] [ info] [http_server] listen iface=0.0.0.0 tcp_port=2020
[2024/01/02 16:48:39] [ info] [sp] stream processor started
[2024/01/02 16:52:44] [ warn] [net] getaddrinfo(host='elasticsearch', err=3): DNS server returned general failure
[2024/01/02 16:52:44] [ warn] [engine] failed to flush chunk '1-1704214360.901018925.flb', retry in 11 seconds: task_id=0, input=forward.0 > output=es.0 (out_id=0)
[2024/01/02 16:52:49] [ warn] [net] getaddrinfo(host='elasticsearch', err=3): DNS server returned general failure
[2024/01/02 16:52:49] [ warn] [engine] failed to flush chunk '1-1704214367.45588211.flb', retry in 9 seconds: task_id=1, input=forward.0 > output=es.0 (out_id=0)
[2024/01/02 16:52:55] [ warn] [net] getaddrinfo(host='elasticsearch', err=3): DNS server returned general failure
[2024/01/02 16:52:55] [ warn] [engine] failed to flush chunk '1-1704214360.901018925.flb', retry in 9 seconds: task_id=0, input=forward.0 > output=es.0 (out_id=0)
[2024/01/02 16:52:58] [ warn] [net] getaddrinfo(host='elasticsearch', err=3): DNS server returned general failure
fluent-bit.conf
[SERVICE]
flush 5
daemon off
http_server on
log_level info
parsers_file parsers.conf
[INPUT]
Name forward
Listen 0.0.0.0
Port 24224
[FILTER]
name parser
match *
key_name log
parser docker
reserve_data true
@INCLUDE my-service.conf
my-service.conf
[OUTPUT]
name es
match my-service
host elasticsearch
port 9200
HTTP_User fluentbit
HTTP_Passwd ${ELASTICSEARCH_PASSWORD}
replace_dots on
retry_limit false
logstash_format on
logstash_prefix my-service
Suppress_Type_Name on
#Trace_Error On
#Trace_Output On
This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.
Bug Report
Describe the bug
fluent-bit:2.2.1
docker container withelasticsearch:8.11.3
,kibana:8.11.3
containers via docker-compose, I get warning message and the log transferring does not happen.Centos 7
.fluent-bit:2.2.1
with thefluent-bit:2.2.0
, then everything works fine.The warning message:
fluent-bit.conf
my-service.conf
docker-compose.yaml
The text was updated successfully, but these errors were encountered: