I have a setup where a number of beat agents are sending files to Amazon ELB , the ELB then sends the traffic to 2 Logstash servers. I am trying out the following configuration to work this out but i this doesn't seem to work at all:
`
output:
logstash:
# The Logstash hosts
hosts: ["logstash-loadbalancer-1358451793.ap-southeast-2.elb.amazonaws.com:5044"]
# Number of workers per Logstash host.
worker: 2
`
I have gone through some posts where people have done something similar but these also don't clearly mention the config.
Can someone help out?
I ran into this as well, my issue was that my ELB wasn't listening on that port (5044). I added a 5044 <-> 5044 TCP listener and filebeat was able to connect to logstash through the ELB.