Splunk Search

Colud not use strptime to prase the timestamp pipe

smdasim
Explorer

Hi ,

I am not able to parse the below log format using timeformat -props.conf
It is giving me a warning unable to parse the timestamp format

Log details below

[12/10/2017 | 21:35:32.561512] | {pid= 6588} | {tid= 12252} | :: | EPVWA005I Application end
[12/10/2017 | 21:35:41.678398] | {pid= 468} | {tid= 4776} | :: | EPVWA004I Application version [9.8.0 (9.80.0.7)] start

[14/10/2017 | 02:35:35.331215] | {pid= 468} | {tid= 12392} | :: | EPVWA005I Application end

Please advice

Regards
smdasim

Tags (1)
0 Karma

mayurr98
Super Champion

Put this in props.conf

TIME_FORMAT = %d/%m/%Y | %H:%M:%S.%6N
TIME_PREFIX = ^\[

let me know if this helps!

0 Karma

tiagofbmm
Influencer

Hey

TIME_FORMAT=%d/%m/%Y | %H:%M:%S%6N

Test and let me know please

0 Karma

tiagofbmm
Influencer

Please let me know if the answer was useful for you. If it was, accept it and upvote. If not, give us more input so we can help you with that

0 Karma
Get Updates on the Splunk Community!

New Release | Splunk Cloud Platform 10.1.2507

Hello Splunk Community!We are thrilled to announce the General Availability of Splunk Cloud Platform 10.1.2507 ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...

Splunk New Course Releases for a Changing World

Every day, the world feels like it’s moving faster with new technological breakthroughs, AI innovation, and ...