# Time format in importing csv

**URL:** <https://discuss.elastic.co/t/time-format-in-importing-csv/154174>\
**Category:** Logstash\
**Created:** [October 26, 2018, 10:22am UTC](https://discuss.elastic.co/t/time-format-in-importing-csv/154174 "2018-10-26T10:22:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nay\_Myo\_Zaw](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nay_myo_zaw/32/46539_2.png) [@Nay\_Myo\_Zaw](https://discuss.elastic.co/u/Nay_Myo_Zaw)\
**Post date:** [October 26, 2018, 10:22am UTC](https://discuss.elastic.co/t/time-format-in-importing-csv/154174/1 "2018-10-26T10:22:24Z")

</div>

When I import datetime data as index it's changed to as below:

> 2018-10-20 11:55:46 -\> January 20th 2018, 11:55:46.000  
> here is my date filter from conf  
> date {  
> locale =\> "en"  
> match =\> ["Created","YYYY-MM-DD hh:mm:ss"]  
> target =\> "Created Time"  
> }  
> I'm new user in ELK. Really appreciate any help.  
> Thanks

---

<div class="post-metadata">

**Author:** ![Jenni](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jenni/32/29684_2.png) [@Jenni](https://discuss.elastic.co/u/Jenni)\
**Post date:** [October 26, 2018, 10:46am UTC](https://discuss.elastic.co/t/time-format-in-importing-csv/154174/2 "2018-10-26T10:46:28Z")

</div>

"January 20th 2018, 11:55:46.000" is just Kibana's way of displaying the time. After using the date filter your time is handled as a Timestamp object and the way it looks depends on the software. If you have a look at the JSON of your events, you'll see a different format.

---

<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 23, 2018, 10:59am UTC](https://discuss.elastic.co/t/time-format-in-importing-csv/154174/3 "2018-11-23T10:59:16Z")

</div>

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