I have a csv file with below mentioned data.
I want to count and group the data on the basis of location and want to send the same to elasticsearch index. So my index should look like.
and the count should increase or decrease on the basis of the data in the csv file. If the new Order is on the same location , then the count should increase and if there is a new location then the count should start from 1. How can I implement this scenario using logstash?