# Can we update the messages on the same document based on unique field

**URL:** <https://discuss.elastic.co/t/can-we-update-the-messages-on-the-same-document-based-on-unique-field/214813>\
**Category:** Kibana\
**Created:** [January 13, 2020, 11:25am UTC](https://discuss.elastic.co/t/can-we-update-the-messages-on-the-same-document-based-on-unique-field/214813 "2020-01-13T11:25:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anjilinga](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/anjilinga/32/86010_2.png) [@anjilinga](https://discuss.elastic.co/u/anjilinga)\
**Post date:** [January 13, 2020, 11:25am UTC](https://discuss.elastic.co/t/can-we-update-the-messages-on-the-same-document-based-on-unique-field/214813/1 "2020-01-13T11:25:10Z")

</div>

If we have 3 messages coming for each city, can we update the messages on same document based on city. is it possible through logstash or any otherway ?

---

<div class="post-metadata">

**Author:** ![Fabio-sama](https://avatars.discourse-cdn.com/v4/letter/f/b9e5f3/32.png) [@Fabio-sama](https://discuss.elastic.co/u/Fabio-sama)\
**Post date:** [January 13, 2020, 11:38am UTC](https://discuss.elastic.co/t/can-we-update-the-messages-on-the-same-document-based-on-unique-field/214813/2 "2020-01-13T11:38:53Z")

</div>

Hi there,

Can you explain the use case a little bit better? Maybe providing a concrete example?

---

<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:** [February 10, 2020, 11:39am UTC](https://discuss.elastic.co/t/can-we-update-the-messages-on-the-same-document-based-on-unique-field/214813/3 "2020-02-10T11:39:03Z")

</div>

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