Delete previous document

i have jdbc input run every min and i want to delete the previous document that inserted in the index once the schedule run
how the logstash structure will be ?

You can set the document_id using a fingerprint filter so that the document is overwritten. See this thread.

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