Splunk Enterprise

Define the best sourcetype for this timestamp

leandromatperei
Path Finder

Guys.

I have the following log that I need to index in Splunk, breaking each line, what would be the best sourcetype for this log format?

 

TIME=20201031064817502 started|src=NSS|UCPU=0|SCPU=0
TIME=20201031064817506||LUSED=1|LMAX=138|OMAX=-1|LFEAT=osr_swirec,dtmf,osr_rec_tier4|UCPU=125|SCPU=31
TIME=20201031064854505 EVNT=SWIepst|VERSION=11.0.3.2019061409|UCPU=5703|SCPU=250

 

 

The format is year, month, day, hours, minutes, seconds, mseconds 

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

isoutamo
SplunkTrust
SplunkTrust

Hi

you need to define your own sourcetype for this log format.  For time you should use in props.conf

TIME_PREFIX = TIME=
TIME_FORMAT = %Y%m%d%H%M%S%3Q

r. Ismo 

View solution in original post

0 Karma

isoutamo
SplunkTrust
SplunkTrust

Hi

you need to define your own sourcetype for this log format.  For time you should use in props.conf

TIME_PREFIX = TIME=
TIME_FORMAT = %Y%m%d%H%M%S%3Q

r. Ismo 

0 Karma
Get Updates on the Splunk Community!

Optimize Cloud Monitoring

  TECH TALKS Optimize Cloud Monitoring Tuesday, August 13, 2024  |  11:00AM–12:00PM PST   Register to ...

What's New in Splunk Cloud Platform 9.2.2403?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.2.2403! Analysts can ...

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

Dive into our sizzling summer lineup for July and August Community Office Hours and Tech Talks. Scroll down to ...