Delete all documents of certain type across all indices

I have daily indices that each contain documents with a type of either audit, state, or pass. How can I delete all documents with type audit from each of the indices? I have tried numerous ways that are all unsuccessful.

The delete_by_query plugin should do that for you.

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