Replace Old Data From Logstash

Hi, I using MySql to dumb data into elasticsearch. It runs every 5 mins and got duplicate results.
I want to replace data so there will be no duplicate entries in it. How can i achieve this?

P.S. I need to replace whole index not document itself.

What is your query?
I'm afraid that you didn't included the timefilter so you got the duplicate data...

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