Best way to remove docs from index

Hi everyone,

I want to clean an index and remove some docs related to a specific filter.
Notice that this index is used by several logstash pipelines...

I have about 5639694 docs to remove, and a total docs count about 7750149.

What is the best smooth way to do this, i mean without interruption of the indexing of other pipelines ?
I thought about a delete_by_query but it's going to take a lot of time i think...

As always, thanks for your help and suggestions.

To remove existing documents from an index the only way is to use delete_by_query, there is no other way.

2 Likes

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