# Millisecond with decimal time format

**URL:** <https://discuss.elastic.co/t/millisecond-with-decimal-time-format/35200>\
**Category:** Elasticsearch\
**Created:** [November 21, 2015, 3:52am UTC](https://discuss.elastic.co/t/millisecond-with-decimal-time-format/35200 "2015-11-21T03:52:42Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![liug](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@liug](https://discuss.elastic.co/u/liug)\
**Post date:** [November 21, 2015, 3:52am UTC](https://discuss.elastic.co/t/millisecond-with-decimal-time-format/35200/1 "2015-11-21T03:52:42Z")

</div>

My nginx log uses timestamp $msec, with resolution up to 0.001 second. What ES 2 time format shall I use to load it? I am trying not to multiple it by 1000 and then load to ES.

---

<div class="post-metadata">

**Author:** ![liug](https://avatars.discourse-cdn.com/v4/letter/l/e9a140/32.png) [@liug](https://discuss.elastic.co/u/liug)\
**Post date:** [November 24, 2015, 5:06am UTC](https://discuss.elastic.co/t/millisecond-with-decimal-time-format/35200/2 "2015-11-24T05:06:28Z")

</div>

It seems others use the decimal seconds too. eg: when I send collectd metrics json to elasticsearch, I see

"time":1448340839.000

It would be great if ES can support this Unix Epoch time down to 0.001 seconds.

---

<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 5, 2017, 11:36pm UTC](https://discuss.elastic.co/t/millisecond-with-decimal-time-format/35200/3 "2017-07-05T23:36:25Z")

</div>


