# Problem with timestamp field

**URL:** <https://discuss.elastic.co/t/problem-with-timestamp-field/184967>\
**Category:** Logstash\
**Created:** [June 10, 2019, 10:15am UTC](https://discuss.elastic.co/t/problem-with-timestamp-field/184967 "2019-06-10T10:15:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prabhav](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prabhav/32/64630_2.png) [@Prabhav](https://discuss.elastic.co/u/Prabhav)\
**Post date:** [June 10, 2019, 10:15am UTC](https://discuss.elastic.co/t/problem-with-timestamp-field/184967/1 "2019-06-10T10:15:23Z")

</div>

I want to upload a .csv file to elasticsearch but the main problem that i am facing is with the formatting of timestamp field.  
I want to be able to add a field in the format of  
HH.mm.ss.SSS but all i can find is formatting for the 4 types that have been given in the link below.  
[https://www.elastic.co/guide/en/logstash/current/plugins-filters-date.html#plugins-filters-date-options](https://www.elastic.co/guide/en/logstash/current/plugins-filters-date.html#plugins-filters-date-options)  
It'd be great if someone could tell me how can i upload data to elasticsearch with logstash and havig proper time\_stamp formatting.

---

<div class="post-metadata">

**Author:** ![ylasri](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ylasri/32/86120_2.png) [@ylasri](https://discuss.elastic.co/u/ylasri)\
**Post date:** [June 10, 2019, 10:44am UTC](https://discuss.elastic.co/t/problem-with-timestamp-field/184967/2 "2019-06-10T10:44:16Z")

</div>

You can use the format you want

Example

```
filter {
date {
match => ["logdate", "MMM dd yyyy HH.mm.ss.SSS"]
}
}
```

---

<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 8, 2019, 10:44am UTC](https://discuss.elastic.co/t/problem-with-timestamp-field/184967/3 "2019-07-08T10:44:19Z")

</div>

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