# Check if value is 'null' So it Can Be Used in a Fingerprint and Document \_id

**URL:** <https://discuss.elastic.co/t/check-if-value-is-null-so-it-can-be-used-in-a-fingerprint-and-document-id/326632>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 27, 2023, 9:00pm UTC](https://discuss.elastic.co/t/check-if-value-is-null-so-it-can-be-used-in-a-fingerprint-and-document-id/326632 "2023-02-27T21:00:02Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![iFamZ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ifamz/32/117834_2.png) [@iFamZ](https://discuss.elastic.co/u/iFamZ)\
**Post date:** [March 1, 2023, 1:44am UTC](https://discuss.elastic.co/t/check-if-value-is-null-so-it-can-be-used-in-a-fingerprint-and-document-id/326632/8 "2023-03-01T01:44:56Z")

</div>

Yes, I am planning on updating the document. In fact, I would like to do something like [this](https://discuss.elastic.co/t/filebeat-and-updating-existing-docs/320781/6). Based on that link (and your solution to that post), the `op_type` is necessary if I would like to use fingerprint to be the document id, that is exactly what I am looking to do.

---

_[View the full topic](https://discuss.elastic.co/t/check-if-value-is-null-so-it-can-be-used-in-a-fingerprint-and-document-id/326632)._
