# Change field to timestamp

**URL:** <https://discuss.elastic.co/t/change-field-to-timestamp/52708>\
**Category:** Logstash\
**Created:** [June 14, 2016, 9:38am UTC](https://discuss.elastic.co/t/change-field-to-timestamp/52708 "2016-06-14T09:38:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kennedy\_Kan1](https://avatars.discourse-cdn.com/v4/letter/k/cc9497/32.png) [@Kennedy\_Kan1](https://discuss.elastic.co/u/Kennedy_Kan1)\
**Post date:** [June 14, 2016, 9:38am UTC](https://discuss.elastic.co/t/change-field-to-timestamp/52708/1 "2016-06-14T09:38:15Z")

</div>

I have a csv file which store up cpu usage. There is a field with date format like this "20150101-00:15:00". How can I change it to @timestamp in logstash as shown in kibana?

---

<div class="post-metadata">

**Author:** ![magnusbaeck](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/magnusbaeck/32/44943_2.png) [@magnusbaeck](https://discuss.elastic.co/u/magnusbaeck)\
**Post date:** [June 14, 2016, 8:08pm UTC](https://discuss.elastic.co/t/change-field-to-timestamp/52708/2 "2016-06-14T20:08:22Z")

</div>

Use the date filter.

---

<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:** [July 6, 2017, 4:52am UTC](https://discuss.elastic.co/t/change-field-to-timestamp/52708/3 "2017-07-06T04:52:55Z")

</div>


