Logstash to support nanosecond timestamps?

(Adam K) #1

Hi,

With elastic 7.0 release notes I was really happy to see native support for nanosecond timestamps. How does this work with Logstash? I see the date filter plugin sill supports only UNIX and UNIX_MS input format.

I do have a workaround with ruby filter to get my nanosecond epoch integer converted to what date filter defines as 'UNIX'. It works but it looses the precision.

It would have been fantastic to be able to use something like UNIX_US (integer, microsecond resolution) and UNIX_NS (integer, nanosecond resolution) directly with date filter plugin's match.

Thanks,
Adam