# Convert String to Date

**URL:** <https://discuss.elastic.co/t/convert-string-to-date/278782>\
**Category:** Elasticsearch\
**Created:** [July 15, 2021, 12:01pm UTC](https://discuss.elastic.co/t/convert-string-to-date/278782 "2021-07-15T12:01:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Meryem\_BS](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/meryem_bs/32/91671_2.png) [@Meryem\_BS](https://discuss.elastic.co/u/Meryem_BS)\
**Post date:** [July 15, 2021, 12:01pm UTC](https://discuss.elastic.co/t/convert-string-to-date/278782/1 "2021-07-15T12:01:33Z")

</div>

Hello,  
In the logs I upload to Kibana have a "mytimestamp" field, supposedly of type Date but when I inject the logs and parsed it in json, my timestamp is converted to type string.  
Do you know how can I convert my timestamp field from String to Date thanks to Filebeat ?  
I must necessarily use Logstash ?

Thank you 🙂

---

<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:** [August 12, 2021, 12:01pm UTC](https://discuss.elastic.co/t/convert-string-to-date/278782/2 "2021-08-12T12:01:58Z")

</div>

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