How load balancing work between logstash and elasticsearch

I think you are really asking about how elasticsearch load balances data across a cluster.

If you are using a single index and it only has a single replica then the data will only be distributed across two elasticsearch nodes. You really need to tell us more about your indexes.

Using the elasticsearch cat indices API might be helpful

GET /_cat/indices/?v=true