# Trying to add two extra fields to my indexed documents

**URL:** <https://discuss.elastic.co/t/trying-to-add-two-extra-fields-to-my-indexed-documents/169731>\
**Category:** Logstash\
**Created:** [February 24, 2019, 3:00pm UTC](https://discuss.elastic.co/t/trying-to-add-two-extra-fields-to-my-indexed-documents/169731 "2019-02-24T15:00:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rwl](https://avatars.discourse-cdn.com/v4/letter/r/278dde/32.png) [@rwl](https://discuss.elastic.co/u/rwl)\
**Post date:** [February 24, 2019, 3:00pm UTC](https://discuss.elastic.co/t/trying-to-add-two-extra-fields-to-my-indexed-documents/169731/1 "2019-02-24T15:00:16Z")

</div>

Hey guys,

I haven't been using the elastic stack for long, I'm still very much learning the ropes.

I use an elasticsearch+logstash+kibana configuration and filebeat for monitoring a server log. I want to add two fields to each entry in my index that represent the time it took for logstash to process the entry, respectively the time it took elasticsearch to index the entry.

I can't seem to find any reference on how to extract this data and put inside my exported entries.

Cheers!

---

<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:** [March 24, 2019, 3:00pm UTC](https://discuss.elastic.co/t/trying-to-add-two-extra-fields-to-my-indexed-documents/169731/2 "2019-03-24T15:00:18Z")

</div>

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