Getting Data In

Timestamp format

merp96
Path Finder

What could be the TIME_FORMAT=? for the below timestamp in event
2015-03-18 14:18:17 0.175

0 Karma
1 Solution

inventsekar
SplunkTrust
SplunkTrust

2015-03-18 14:18:17 0.175 --- may i know what is this 0. before 175(milli seconds)

please try this in props.conf:

 TIME_FORMAT = %Y-%d-%m %H:%M:%S

Best Regards,
Sekar

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !

View solution in original post

inventsekar
SplunkTrust
SplunkTrust

2015-03-18 14:18:17 0.175 --- may i know what is this 0. before 175(milli seconds)

please try this in props.conf:

 TIME_FORMAT = %Y-%d-%m %H:%M:%S

Best Regards,
Sekar

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !

merp96
Path Finder

I guess 0.175 is not part of timestamp. What do you think about it.

0 Karma

inventsekar
SplunkTrust
SplunkTrust

ok then, we can discard it. use only till %S
TIME_FORMAT = %Y-%d-%m %H:%M:%S

if "0." was not there, then, we can think of it as 175 milli seconds (%N).
may be its part of the remaining line.

thanks and best regards,
Sekar

PS - If this or any post helped you in any way, pls consider upvoting, thanks for reading !
0 Karma

merp96
Path Finder

yes I believe so, will check with the team logging the source
Thanks

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
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, ...