/etc/default/logstash

Hi

How do i add to logstash env file "/etc/default/logstash" a line with the following format:

ELK_SERVERS="host1:9200","host2:9200","host3:9200","host4:9200"

Thanks

You need to separate the hosts using a space:

ELK_SERVERS="host1:9200 host2:9200 host3:9200 host4:9200"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.