How can I check if the data were successfully transferred to elasticsearch?
For example I got this output.
output {
elasticsearch1 {
hosts => ["xxx.xxx.xxx.250:9200"]
index => "logstash1-%{+YYYY.MM.dd}"
}
elasticsearch2 {
hosts => ["xxx.xxx.xxx.251:9200"]
index => "logstash2-%{+YYYY.MM.dd}"
}
}
-
If the server for elasticsearch 2 is down, does the data will still be transfered to elasticsearch1?
-
If the server for elasticsearch 2 is already up, will the logstash can get the previous data that was already stored in elasticsearch 1 during downtime if possible?
Thank you.