# Nanosecond support in Logs UI

**URL:** https://discuss.elastic.co/t/nanosecond-support-in-logs-ui/261048
**Category:** Logs
**Created:** [January 13, 2021, 8:27pm UTC](https://discuss.elastic.co/t/nanosecond-support-in-logs-ui/261048 "2021-01-13T20:27:36Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![data\_smith](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/data_smith/32/124122_2.png) [@data\_smith](https://discuss.elastic.co/u/data_smith)
#### Post date: [January 13, 2021, 8:27pm UTC](https://discuss.elastic.co/t/nanosecond-support-in-logs-ui/261048/1 "2021-01-13T20:27:36Z")

</div>

Does anyone know if the Logs UI supports timetamps in data\_nanos format? If not, is this feature coming in the future? I couldn't get it to work with nanoseconds.

---

<div class="post-metadata">

### Author: ![simianhacker](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/simianhacker/32/3383_2.png) [@simianhacker](https://discuss.elastic.co/u/simianhacker)
#### Post date: [January 13, 2021, 10:29pm UTC](https://discuss.elastic.co/t/nanosecond-support-in-logs-ui/261048/2 "2021-01-13T22:29:58Z")

</div>

Currently, setting `date_nanos` for `@timestamp` throws an error in the UI. The current date formatter doesn't support that timestamp. I filed an issue in the Kibana repo so you can track it's progress: [https://github.com/elastic/kibana/issues/88290](https://github.com/elastic/kibana/issues/88290)

Edit: I forgot to thank you for bringing this to our attention 😉

---

<div class="post-metadata">

### Author: ![juan.domenech](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/juan.domenech/32/142257_2.png) [@juan.domenech](https://discuss.elastic.co/u/juan.domenech)
#### Post date: [January 24, 2021, 12:58pm UTC](https://discuss.elastic.co/t/nanosecond-support-in-logs-ui/261048/3 "2021-01-24T12:58:02Z")

</div>

I found the same issue while indexing on nanoseconds.

My work around to keep Logs UI working is to **include two timestamps in the events** : The standard @timestamp in milliseconds and a second one @timestamp\_nanoseconds.

I made @timestamp\_nanoseconds the **Time Field in the Index Pattern** and this allows Discovery to use nanoseconds. While at the same time Logs UI is happy when it finds @timestamp.

[Some details over here.](https://discuss.elastic.co/t/how-to-index-nanoseconds-precision-events-with-logstash-7-10-and-type-date-nanos/262029)

I hope it helps.

---

<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: [February 21, 2021, 12:58pm UTC](https://discuss.elastic.co/t/nanosecond-support-in-logs-ui/261048/4 "2021-02-21T12:58:05Z")

</div>

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