Getting Data In

Time format throwing error

saifuddin9122
Path Finder

Hello All,

i have a sourcetype with timestamp as "2017-10-10T18:55:47.425Z" and i defined TIME_FORMAT as "%Y-%m-%dT%H:%M:%S.%3%Z" but seems to be issue am getting the following error

Bad strptime format value: '%Y-%m-%dT%H:%M:%S.%3%Z', of param: props.conf / [] / TIME_FORMAT.

can anyone help me in correcting it?

0 Karma
1 Solution

s2_splunk
Splunk Employee
Splunk Employee

Try with TIME_FORMAT as "%Y-%m-%dT%H:%M:%S.%3N%Z"

View solution in original post

0 Karma

s2_splunk
Splunk Employee
Splunk Employee

Try with TIME_FORMAT as "%Y-%m-%dT%H:%M:%S.%3N%Z"

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...