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!

From Data to Insight: Announcing the Winners of the Splunk Dashboard Contest

Hi Splunkers, First off, thank you to everyone who participated in our very first From Data to Insight: The ...

Splunk Developers: Construct Your Future at the .conf26 Builder Bar

Calling all Splunk architects, platform admins, and app developers: the site is open, and the blueprints are ...

Quick connection discovery mode for forwarders

When a Splunk forwarder loses connectivity to its indexers, it does not always reconnect immediately. In many ...