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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...