# How to add current timestamp to winlogbeat

**URL:** https://discuss.elastic.co/t/how-to-add-current-timestamp-to-winlogbeat/68230
**Category:** Beats
**Tags:** winlogbeat
**Created:** [December 7, 2016, 1:19am UTC](https://discuss.elastic.co/t/how-to-add-current-timestamp-to-winlogbeat/68230 "2016-12-07T01:19:25Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![lin-zhao](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lin-zhao/32/11147_2.png) [@lin-zhao](https://discuss.elastic.co/u/lin-zhao)
#### Post date: [December 7, 2016, 1:19am UTC](https://discuss.elastic.co/t/how-to-add-current-timestamp-to-winlogbeat/68230/1 "2016-12-07T01:19:25Z")

</div>

winlogbeat uses the log parsed time as @timestamp. I have requirement to add a field to index the time the log gets gathered by the beat. Is there a way to do so?

---

<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: [December 7, 2016, 1:43am UTC](https://discuss.elastic.co/t/how-to-add-current-timestamp-to-winlogbeat/68230/2 "2016-12-07T01:43:54Z")

</div>

You would need use Logstash to add another timestamp to the event.

---

<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: [January 4, 2017, 1:44am UTC](https://discuss.elastic.co/t/how-to-add-current-timestamp-to-winlogbeat/68230/3 "2017-01-04T01:44:00Z")

</div>

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