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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...