Hi there,
I have a logstash server, a elasticsearch server, a HA proxy server. I want to transfer data from LS to ES through HA proxy as flow:
LS(10.0.0.2) ------> HA proxy(172.0.0.2) -------> ES(192.168.56.2)
I just configed LS output as below:
output { elasticsearch { hosts => ["172.0.0.2:9200"] manage_template => false index => "test" document_type => "%{[@metadata][type]}" } }
I got the index in ES server but there are no data belong to it. The result as below:
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size red open test d5KEDZdpSq2GsQ-D0KYneQ 5 1 <blank> <blank> <blank> <blank>
So, how can i configure LS output to which ES can get data from LS through HA proxy?
Thanks.