# Convert NanoSecond Unix timestamp

**URL:** https://discuss.elastic.co/t/convert-nanosecond-unix-timestamp/324368
**Category:** Logstash
**Created:** [January 31, 2023, 8:34pm UTC](https://discuss.elastic.co/t/convert-nanosecond-unix-timestamp/324368 "2023-01-31T20:34:55Z")
**Posts on this page:** 1
**Showing post:** 5

<div class="post-metadata">

### Author: ![Rios](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rios/32/95745_2.png) [@Rios](https://discuss.elastic.co/u/Rios)
#### Post date: [January 31, 2023, 9:25pm UTC](https://discuss.elastic.co/t/convert-nanosecond-unix-timestamp/324368/5 "2023-01-31T21:25:04Z")

</div>

Proof how LS is advance 🙂  
Use the simplest solution. If nanosec is mandatory in ES, then use [this](https://discuss.elastic.co/t/how-to-index-nanoseconds-precision-events-with-logstash-7-10-and-type-date-nanos/262029) or [this](https://github.com/elastic/logstash/issues/10822)

---

_[View the full topic](https://discuss.elastic.co/t/convert-nanosecond-unix-timestamp/324368)._
