# No subsecond precision for apache logs

**URL:** <https://discuss.elastic.co/t/no-subsecond-precision-for-apache-logs/281614>\
**Category:** Elasticsearch\
**Created:** [August 16, 2021, 10:55pm UTC](https://discuss.elastic.co/t/no-subsecond-precision-for-apache-logs/281614 "2021-08-16T22:55:42Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![rizvaughan](https://avatars.discourse-cdn.com/v4/letter/r/bbe5ce/32.png) [@rizvaughan](https://discuss.elastic.co/u/rizvaughan)\
**Post date:** [August 16, 2021, 11:34pm UTC](https://discuss.elastic.co/t/no-subsecond-precision-for-apache-logs/281614/5 "2021-08-16T23:34:48Z")

</div>

Thank you for your time.  
Sorry, I didn't explain myself better in the beginning. At the moment I get time normally like 'Aug 17, 2021 @ 01:19:03.000'.  
I want to have it in subsecond. When I change logging in apache from seconds to milli or microseconds, elasticsearch creates new index for each log like 'apache-access-51627800.51'. My normal indices are created as 'apache-access-2021-33'(weekly indices).  
I wanted to confirm if by changing mappings etc, i could achieve this(I have tried but in vain).  
So now it's clear that I need to change it before ingestion to elasticsearch.

---

_[View the full topic](https://discuss.elastic.co/t/no-subsecond-precision-for-apache-logs/281614)._
