How delete index before synching data using logstash

Iam using logstash input plugin for synch mysql data to elasticsearch .
But I have to delete elasticsearch index before synch the data using logstash.Please give me a solution for this

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