# Calling a pipeline on deletion operations

**URL:** https://discuss.elastic.co/t/calling-a-pipeline-on-deletion-operations/187116
**Category:** Elasticsearch
**Created:** [June 24, 2019, 12:13pm UTC](https://discuss.elastic.co/t/calling-a-pipeline-on-deletion-operations/187116 "2019-06-24T12:13:00Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jetnet](https://avatars.discourse-cdn.com/v4/letter/j/a87d85/32.png) [@jetnet](https://discuss.elastic.co/u/jetnet)
#### Post date: [June 24, 2019, 12:31pm UTC](https://discuss.elastic.co/t/calling-a-pipeline-on-deletion-operations/187116/2 "2019-06-24T12:31:17Z")

</div>

found a [post](https://discuss.elastic.co/t/delete-document-in-elastic-in-ingest-based-on-condition/110838/2) regarding that:

> Filebeat and ingest pipeline are data ingestion components and they can't be used to delete documents.

is there still no workaround to do that?  
I change the document ID in the ingest pipeline when indexing documents. So, I'd like to change the document ID in the same way when deleting.  
Any ideas?  
Thanks a lot!

---

_[View the full topic](https://discuss.elastic.co/t/calling-a-pipeline-on-deletion-operations/187116)._
