Hi,
I have a Logstash running which sends data to Elasticsearch nodes and also to other Logstash over http output plugin. Problem I see is, whenever the Losgtash(destination) is stopped(for whatever reason), Logstash(source) fails to send data to Elasticsearch as well. Here is the part of my config,
output{
if [component] == "Something"{
file {
path => "/tmp/logstash/outputfornow.log"
}
elasticsearch {
hosts => ["xx.xx.xx:9200","xx.xx.xx:9200","xx.xx.xx:9200"]
index => "index-%{+YYYY.MM}"
}
http {
url=> "http://xx.xx.xx:443"
http_method=> "post"
format=> "json"
}
}
Can someone please say the problem here?