filebeat version 6.0.1
Elasticsearch version 5.6.2
Filebeat has 40,Elasticsearch has 4.
filebeat.yml:
filebeat.registry_file: /home/work/data/registry
filebeat.config.prospectors:
enabled: true
path: configs/*.yml
reload.enabled: true
reload.period: 30s
output.elasticsearch:
hosts: ["IP1:9200","IP2:9200","IP3:9200","IP4:9200"]
filebeat log
2017-12-12T15:45:03+08:00 ERR Failed to publish events: temporary bulk send failure
2017-12-12T15:45:03+08:00 ERR Failed to publish events: temporary bulk send failure
2017-12-12T15:45:03+08:00 INFO Connected to Elasticsearch version 5.6.2
2017-12-12T15:45:04+08:00 INFO Connected to Elasticsearch version 5.6.2
2017-12-12T15:45:04+08:00 INFO Template already exists and will not be overwritten.
2017-12-12T15:45:04+08:00 INFO Template already exists and will not be overwritten.
2017-12-12T15:45:08+08:00 ERR Failed to publish events: temporary bulk send failure
2017-12-12T15:45:08+08:00 INFO Connected to Elasticsearch version 5.6.2
2017-12-12T15:45:08+08:00 INFO Template already exists and will not be overwritten.
2017-12-12T15:45:09+08:00 ERR Failed to publish events: temporary bulk send failure
2017-12-12T15:45:09+08:00 ERR Failed to publish events: temporary bulk send failure
2017-12-12T15:45:09+08:00 INFO Connected to Elasticsearch version 5.6.2
2017-12-12T15:45:09+08:00 INFO Template already exists and will not be overwritten.
2017-12-12T15:45:09+08:00 ERR Failed to publish events: temporary bulk send failure
2017-12-12T15:45:09+08:00 INFO Connected to Elasticsearch version 5.6.2
2017-12-12T15:45:09+08:00 INFO Template already exists and will not be overwritten.
2017-12-12T15:45:12+08:00 INFO Connected to Elasticsearch version 5.6.2
There is no ERR when I reduce filebeat to 20。
I have modified filebeat.yml:
filebeat.registry_file: /home/work/data/registry
queue.mem:
events: 1000000
flush.timeout: 30s
filebeat.config.prospectors:
enabled: true
path: configs/*.yml
reload.enabled: true
reload.period: 30s
output.elasticsearch:
hosts: ["IP1:9200","IP2:9200","IP3:9200","IP4:9200"]
bulk_max_size: 100000
But it doesn't work.
Anybody encountered this problem?