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!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...