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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Value Insights: Now Generally Available in the CMC

Organizations are under pressure to move faster, control cost, expand AI adoption, and prove value with more ...

What’s New in Splunk AI: Volume 02

Welcome to the second edition of “What’s New in Splunk AI” where we look at the latest and greatest updates, ...

Splunk App Dev Quarterly Roundup: AI, Agents, and Innovation!

Another quarter, another wave of innovation. From complex integrations to pushing the limits ...