DELETE all data feom logstash

Hi
How can i delete data from an elasticsearch index (just data, not setting) using logstash?
I want to reindex data from SQLServer. If GET my_index/_count is > 0 then delete all of them and reload that index from my SQLServer table.
please help.
Thanks

Logstash is designed to handle streams of events, so do as far as I know not support that kind of workflow.

This means I can not set new index with my custom settings like analyzers or ...
Then I must use kibana to handle it.
Thank you to help.

Can I find 'not exists' record in my index?
For example I must index 4 , 5 , 6 and 7 that 6 is exists in my index and I don't want to have duplicate data.

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