Filebeat configuration by giving multiple output log-stash host details


(srikanth ramineni) #1

can we specify two host ids in file beat configuration? If we specify will data will distribute to different servers or same data will go different servers.
In filebeat.yml file we have given configuration like below
hosts: ["192.16.1.42:9200","192.16.1.41:9200"]


(Steffen Siering) #2

Yes, one can configure multiple hosts. See logstash output options. For filebeat the spooler_size should be bigger the bulk_max_size, so batches will be split up and load balanced.


(system) #3

This topic was automatically closed after 21 days. New replies are no longer allowed.