Getting Data In

Breaking up events

Ant1D
Motivator

Hi,

I am just looking at a new data input in Splunk. In some cases I am seeing one timestamp per event which is what I would expect to see but in some cases, Splunk is placing all of the following under one event:

e.g. of one event in Splunk which has multiple timestamps:

2012-07-02 15:43:33.319, TZ="UTC", OsVersion="Microsoft Windows NT 6.1 Service Pack 1"
2012-07-02 15:43:33.531, TZ="UTC", OsVersion="Microsoft Windows NT 6.1 Service Pack 1"
2012-07-02 15:43:33.744, TZ="UTC", OsVersion="Microsoft Windows NT 6.1 Service Pack 1"

Ideally, Splunk should be showing this as three separate events and not one event where _time is 2012-07-02 15:43:33.319. How can this event to be chopped into three events with the three timestamps? How would this be done in props.conf? Thanks in advance for your help

0 Karma
1 Solution

sdaniels
Splunk Employee
Splunk Employee

I would try this in props.conf. See link below, the stanza can reference your sourcetype, host or source etc.

[yoursourcetype]
MAX_TIMESTAMP_LOOKAHEAD=25
SHOULD_LINEMERGE = true
BREAK_ONLY_BEFORE_DATE = true

You can see the other props.conf settings here: http://docs.splunk.com/Documentation/Splunk/latest/admin/propsconf

View solution in original post

0 Karma

jbsplunk
Splunk Employee
Splunk Employee

Instructions for configuring event line breaking can be found here:

http://docs.splunk.com/Documentation/Splunk/latest/Data/Indexmulti-lineevents

0 Karma

sdaniels
Splunk Employee
Splunk Employee

I would try this in props.conf. See link below, the stanza can reference your sourcetype, host or source etc.

[yoursourcetype]
MAX_TIMESTAMP_LOOKAHEAD=25
SHOULD_LINEMERGE = true
BREAK_ONLY_BEFORE_DATE = true

You can see the other props.conf settings here: http://docs.splunk.com/Documentation/Splunk/latest/admin/propsconf

0 Karma

Ant1D
Motivator

Thanks, the latter two attributes are set to true by default

0 Karma
Get Updates on the Splunk Community!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...