I have a CSV file which contains data like this:
I run Logstash as a Linux service and it loaded the data to ElasticSearch correctly. When I add new lines to the CSV file then Logstash inserts them into ElasticSearch. However, when I delete a row from the CSV file nothing happens.
How can I make Logstash delete the documents from ElasticSearch when the corresponding lines (with the same ID) are deleted from the CSV file ? Is there any way or should I do do it by myself using the ElasticSearch REST API?