Splunk Search

TIME_PREFIX and TIME_FORMAT for Props configuration File

SplunkDash
Motivator

Hi,

How  I would write TIME_PREFIX and TIME_FORMAT for props configuration file for the following events (4- sample events given below). Any help will be highly appreciated. Thank you!

 

[Tue Jun 15 00:00:26.337 EDT 2021] [CommonPool:6554] Process ID             = 744021

[Tue Jun 15 00:00:26.337 EDT 2021] [CommonPool:6554] 

[Tue Jun 15 00:00:26.337 EDT 2021] [CommonPool:6554] Realm Server Details : XXX

[Tue Jun 15 00:00:26.337 EDT 2021] [CommonPool:6554]   Product              = Universal Messaging

 

 

Labels (2)
Tags (1)
0 Karma
1 Solution

venkatasri
SplunkTrust
SplunkTrust

@SplunkDash It would be great if you could Accept solution! 

View solution in original post

venkatasri
SplunkTrust
SplunkTrust

@SplunkDash It would be great if you could Accept solution! 

venkatasri
SplunkTrust
SplunkTrust

Hi @SplunkDash 

Can you try this?

[<your_sourcetype_name>]
SHOULD_LINEMERGE=false
LINE_BREAKER=([\r\n]+)\[\w+\s+\w+\s+\d+\s+\d+:\d+:\d+.\d+\s+\w+\s+\d+\]
NO_BINARY_CHECK=true
TIME_PREFIX=^\[
TIME_FORMAT=%a %b %d %H:%M:%S.%3Q %Z %Y

 

---

An upvote would be appreciated and Accept solution if it helps! 

SplunkDash
Motivator

Thank you so much, appreciated! ......working as expected 😊!!!

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...