# Setting a different format for @timestamp

**URL:** <https://discuss.elastic.co/t/setting-a-different-format-for-timestamp/166721>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [February 1, 2019, 11:34am UTC](https://discuss.elastic.co/t/setting-a-different-format-for-timestamp/166721 "2019-02-01T11:34:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![PaoloZ](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/paoloz/32/59557_2.png) [@PaoloZ](https://discuss.elastic.co/u/PaoloZ)\
**Post date:** [February 1, 2019, 11:34am UTC](https://discuss.elastic.co/t/setting-a-different-format-for-timestamp/166721/1 "2019-02-01T11:34:11Z")

</div>

Hi,  
I am new to Filebeat and I am wondering if there is a way to have a different format for @timestamp field in Elasticsearch.

```
...
"@timestamp" : "2019-02-01T10:52:29.852Z",
...

```

Can I force the format to something like yyyy-MM-dd HH:mm:ss z||yyyy-MM-dd||epoch\_millis||yyyy-MM-dd HH:mm:ss.SSS z, which is already used by other indices in ES?

Thank you in advance.  
Regards,  
Paolo

---

<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 1, 2019, 11:34am UTC](https://discuss.elastic.co/t/setting-a-different-format-for-timestamp/166721/2 "2019-03-01T11:34:13Z")

</div>

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