# Keep track of Context ID and insert into every incoming record

**URL:** <https://discuss.elastic.co/t/keep-track-of-context-id-and-insert-into-every-incoming-record/178538>\
**Category:** Logstash\
**Created:** [April 25, 2019, 9:10pm UTC](https://discuss.elastic.co/t/keep-track-of-context-id-and-insert-into-every-incoming-record/178538 "2019-04-25T21:10:35Z")\
**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:** [April 26, 2019, 12:05am UTC](https://discuss.elastic.co/t/keep-track-of-context-id-and-insert-into-every-incoming-record/178538/2 "2019-04-26T00:05:20Z")

</div>

Reading through [this](https://discuss.elastic.co/t/is-there-an-output-plugin-that-can-be-used-to-update-logfile-index-output/176098) thread might help you, but it is not entirely clear what you want to do.

---

_[View the full topic](https://discuss.elastic.co/t/keep-track-of-context-id-and-insert-into-every-incoming-record/178538)._
