# Filebeat / Winlogbeat -\> Logstash -\> Elastic '@timestamp' problem

**URL:** <https://discuss.elastic.co/t/filebeat-winlogbeat-logstash-elastic-timestamp-problem/203633>\
**Category:** Logstash\
**Created:** [October 15, 2019, 11:27am UTC](https://discuss.elastic.co/t/filebeat-winlogbeat-logstash-elastic-timestamp-problem/203633 "2019-10-15T11:27:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TaloN1x](https://avatars.discourse-cdn.com/v4/letter/t/a6a055/32.png) [@TaloN1x](https://discuss.elastic.co/u/TaloN1x)\
**Post date:** [October 15, 2019, 11:27am UTC](https://discuss.elastic.co/t/filebeat-winlogbeat-logstash-elastic-timestamp-problem/203633/1 "2019-10-15T11:27:45Z")

</div>

I am capturing logs from hosts using winlogbeat and filebeat and sending them to the logstash, that is shipping them to the Elastic.  
The problem I am facing, is that filebeat and winlogbeat as well as logstash are useing '@timestamp' field to store event timestamp. The thing is that logstash is rewriting this field with it's timestamp, making quite a mess in the logs.

Is there any way to tell logstash not to rewrite it? Of I do have to bring extra field and totally ignore @timestamp field at all?

---

<div class="post-metadata">

**Author:** ![rugenl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rugenl/32/12887_2.png) [@rugenl](https://discuss.elastic.co/u/rugenl)\
**Post date:** [October 15, 2019, 2:32pm UTC](https://discuss.elastic.co/t/filebeat-winlogbeat-logstash-elastic-timestamp-problem/203633/2 "2019-10-15T14:32:48Z")

</div>

Use the logstash date filter to set the @timestamp to the desired value from the event, for example:

```
       date {
          match => [
             "[system][syslog][timestamp]",
             "MMM d HH:mm:ss",
             "MMM dd HH:mm:ss"
          ]
          target => "@timestamp"
       }
```

---

<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:** [November 12, 2019, 2:33pm UTC](https://discuss.elastic.co/t/filebeat-winlogbeat-logstash-elastic-timestamp-problem/203633/3 "2019-11-12T14:33:01Z")

</div>

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