# Delete previous document

**URL:** https://discuss.elastic.co/t/delete-previous-document/298602
**Category:** Logstash
**Created:** [March 2, 2022, 9:51am UTC](https://discuss.elastic.co/t/delete-previous-document/298602 "2022-03-02T09:51:55Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)
#### Post date: [March 2, 2022, 6:35pm UTC](https://discuss.elastic.co/t/delete-previous-document/298602/2 "2022-03-02T18:35:15Z")

</div>

You can set the document\_id using a fingerprint filter so that the document is overwritten. See [this](https://discuss.elastic.co/t/threat-intelligence-avoid-redundancy-of-information-in-the-same-index/260303/4) thread.

---

_[View the full topic](https://discuss.elastic.co/t/delete-previous-document/298602)._
