Getting Data In

understanding EVENT-BREAK settings

Abha
Explorer

Hi
I am just exploring how can event break settings be used.Need some help with it.

My input data is simply a text document, containing just a paragraph.
I want Splunk to take every word as one event.
What LINE_BREAKER do I specify in props.conf??
Can it be done in any other way?

Tags (1)
0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

To get each word split into its own event you could do this:

LINE_BREAKER=(\W+)
SHOULD_LINEMERGE=0

That will break events at every group of non-word characters and consume them so they will not appear in your event.

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

To get each word split into its own event you could do this:

LINE_BREAKER=(\W+)
SHOULD_LINEMERGE=0

That will break events at every group of non-word characters and consume them so they will not appear in your event.

Abha
Explorer

It worked! Thanks a million 🙂

0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...