Filebeat configuration by giving multiple output log-stash host details

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"]

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.

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