Delete and recreate index in elasticsearch

Hi All,

Thanks for taking your time to read this query -

I have to delete the existing index and the need to create same Index in Elasticsearch using the logstash config file before data loading start (reading from oracle) as input

we are doing to implement truncate and load type of index

so could you please share code for it using logstash

If you delete an index and logstash tries to write to an index that does not exist a new index will automatically be created.
You can also delete an index and then recreate it using an index template on Elasticsearch before you start sending data to it.

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