Getting Data In

Splunk timestamp Milliseconds vs Microseconds

jadengoho
Builder

Hi All,
What would be the impact if i use "%Q" rather than "%6Q" ?
Cause i'm seeing a 20min time delay on Splunk ingestion, is this because of this or not ?

Log Example:
- 2020-03-08-15.31.10.838384
- 2020-02-01-18.25.15.738385

https://docs.splunk.com/Documentation/Splunk/8.0.2/SearchReference/Commontimeformatvariables
https://docs.splunk.com/Documentation/Splunk/8.0.2/Troubleshooting/Troubleshootingeventsindexingdela...

0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

Using the wrong time variable may prevent Splunk from matching your data. At best, it will only accept 3 decimal places.
Since %Q is the same as %3Q, which does not match microseconds, you should use %6Q.

I doubt this explains the 20-minute delay, however. Have you verified the clocks are correct on all systems?

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

Using the wrong time variable may prevent Splunk from matching your data. At best, it will only accept 3 decimal places.
Since %Q is the same as %3Q, which does not match microseconds, you should use %6Q.

I doubt this explains the 20-minute delay, however. Have you verified the clocks are correct on all systems?

---
If this reply helps you, Karma would be appreciated.
0 Karma

jadengoho
Builder

Yes the clocks are correct, maybe it's due to other stuff on their server.
Thanks.

0 Karma
Get Updates on the Splunk Community!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...