Getting Data In

time formating

sbattista09
Contributor

we have a server that the time time is reporting in with an odd format,

15/May/2015:15:20:38 -0400

how would i make the stanza to get Splunk to parse this correctly to something like 05/15/2015 03:20:38 PM?

0 Karma
1 Solution

neelamssantosh
Contributor

TIME_FORMAT=%d/%b/%Y:%H:%M:%S -%3N

Hope it can help you

View solution in original post

neelamssantosh
Contributor

TIME_FORMAT=%d/%b/%Y:%H:%M:%S -%3N

Hope it can help you

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...