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 ??
Yes, that'll work just fine. ES doesn't care which country its clients are in.
will there be any latency issue ??
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.