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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Detection Engineering Office Hours: Real-World Troubleshooting & Q&A

[REGISTER HERE] This thread is for the Community Office Hours session on Detection Engineering Office Hours: ...

Developer Spotlight with Mika Borner

From Hackathon Winner to Enterprise Leader    Mika Borner, CEO and Founder of Datapunctum AG, has been ...

Continue Your Federation Journey: Join Session 3 of the Bootcamp Series

To help practitioners build a stronger foundation, we launched the Data Management & Federation ...