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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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