Connect multiple logstash to single elastic search


(test account) #1

i have an elastic search instance in found and i want to push data from different servers where logstash is running. these logstash instances are in different countries. will it work ??


(Magnus Bäck) #2

Yes, that'll work just fine. ES doesn't care which country its clients are in.


(test account) #3

will there be any latency issue ??


(Magnus Bäck) #4

Well, the usual limitations of the speed of light and available bandwidth obviously apply. You might want to tune the batch size of the elasticsearch output to avoid the round-trip delays you get with too many smaller requests. But ultimately the TCP windows is limited in size so you may need parallel TCP connections to increase the throughput beyond a certain point.


(test account) #5

ok. thanks


(system) #6