# Filebeat -\> @timestamp as eventtime

**URL:** <https://discuss.elastic.co/t/filebeat-timestamp-as-eventtime/68471>\
**Category:** Elasticsearch\
**Created:** [December 8, 2016, 7:04pm UTC](https://discuss.elastic.co/t/filebeat-timestamp-as-eventtime/68471 "2016-12-08T19:04:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lupolo](https://avatars.discourse-cdn.com/v4/letter/l/5fc32e/32.png) [@lupolo](https://discuss.elastic.co/u/lupolo)\
**Post date:** [December 8, 2016, 7:04pm UTC](https://discuss.elastic.co/t/filebeat-timestamp-as-eventtime/68471/1 "2016-12-08T19:04:14Z")

</div>

Hi,

I have the following source log:

2016-12-08 18:56:49,666 INFO Field1="x" Field1="x1" Field3="3" Field4="4" Field5="5" Field6="x6" ............. Fieldn="xn"

It is shipped by filebeat to elasticsearch.

How can I set the event time "2016-12-08 18:56:49,666" as @timestamp?

Currently, @timestamp is equal to the time the event was indexed.

Thanks,  
Lp

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [December 9, 2016, 12:00am UTC](https://discuss.elastic.co/t/filebeat-timestamp-as-eventtime/68471/2 "2016-12-09T00:00:11Z")

</div>

You either need to use ingest node, or Logstash to grok the event and break out the timestamp.  
Filebeat will simply send the event as it.

---

<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 6, 2017, 12:00am UTC](https://discuss.elastic.co/t/filebeat-timestamp-as-eventtime/68471/3 "2017-01-06T00:00:48Z")

</div>

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