How to implement post action after data loaded to index?

I am using logstash to load data from DB to ES index. Everything works. Now after the data loaded is completed, I want to run some post actions such as put the index in an alias, run some elastic search DSL query, get the count of index, send an email etc. How do I achieve it in one config file?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.