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!

Automatic Discovery Part 1: What is Automatic Discovery in Splunk Observability Cloud ...

If you’ve ever deployed a new database cluster, spun up a caching layer, or added a load balancer, you know it ...

Real-Time Fraud Detection: How Splunk Dashboards Protect Financial Institutions

Financial fraud isn't slowing down. If anything, it's getting more sophisticated. Account takeovers, credit ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

 Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...