Getting Data In

Hypothetical question regarding time resolution

dokian
Explorer

Hello fellow Splunkers!

Apologies if this has been documented or answered elsewhere - I couldn't find the answer...

I was discussing the following documentation page with a colleague regarding indexing events with a time resolution in nanoseconds.

Configure timestamp recognition - Enhanced strptime() support

It says that you can use enhanced strptime expressions in conjunction with the TIME_FORMAT attribute in your props.conf to configure timestamp parsing. This includes parsing timestamps in nanoseconds by using the %9N expression.

My question is, even if you successfully index the timestamp in nanoseconds, when the event is displayed in Splunk search results will it just display the timestamp to three decimal places (milliseconds) instead of nine decimal places (nanoseconds)?

Does anyone have experience indexing events with time resolutions in nanseconds who could comment?

Thanks in advance for your help!

Tags (1)

northben
Explorer

I am testing this with Splunk 6.3.5.

Splunk will not display the time resolution past the 3rd decimal (0.000) but Splunk does record the full precision of the timestamp, to at least 6 decimal places. So for example, I used the delta command to see the time difference between events down to 6 decimal places.

Here's a screenshot for an example.alt text

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...