Use Case:
- Logstash reads input from the log files and indexes the data to elasticsearch output
- Once the data indexing is completed, a trigger should be raised to notify the new data has been inserted to elasticsearch, using which another process would run to search and aggregate the data from elasticsearch on the newly indexed data.
Query - Is there anyway I can know that there is a change in elasticsearch index (i.e., new data has been added) ?