# How can i process the duplication id or custome document\_id on filebeat?

**URL:** <https://discuss.elastic.co/t/how-can-i-process-the-duplication-id-or-custome-document-id-on-filebeat/91845>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [July 5, 2017, 6:34am UTC](https://discuss.elastic.co/t/how-can-i-process-the-duplication-id-or-custome-document-id-on-filebeat/91845 "2017-07-05T06:34:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![beanslee](https://avatars.discourse-cdn.com/v4/letter/b/838e76/32.png) [@beanslee](https://discuss.elastic.co/u/beanslee)\
**Post date:** [July 5, 2017, 6:34am UTC](https://discuss.elastic.co/t/how-can-i-process-the-duplication-id-or-custome-document-id-on-filebeat/91845/1 "2017-07-05T06:34:10Z")

</div>

in logstash ,i can set document\_id=xxx  
but in file beat， i can not find the way....

thanks!!!!

---

<div class="post-metadata">

**Author:** ![andrewkroh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/andrewkroh/32/3784_2.png) [@andrewkroh](https://discuss.elastic.co/u/andrewkroh)\
**Post date:** [July 5, 2017, 2:34pm UTC](https://discuss.elastic.co/t/how-can-i-process-the-duplication-id-or-custome-document-id-on-filebeat/91845/2 "2017-07-05T14:34:34Z")

</div>

You cannot set a document ID in Filebeat. You would need to use either Logstash or setup an Ingest Node pipeline to do it.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 2, 2017, 2:44pm UTC](https://discuss.elastic.co/t/how-can-i-process-the-duplication-id-or-custome-document-id-on-filebeat/91845/3 "2017-08-02T14:44:40Z")

</div>

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