Getting Data In

Splitting events every n characters

chris
Motivator

Hi,

ist it possible to split events in a file based on a position? I have a file that has fixed width events of 200 chars and would like to index them as single events into Splunk.

Thanks

Chris

0 Karma
1 Solution

martin_mueller
SplunkTrust
SplunkTrust

You can specify this in the sourcetype definition in props.conf:

LINE_BREAKER=.{200}()
SHOULD_LINEMERGE=0

View solution in original post

martin_mueller
SplunkTrust
SplunkTrust

You can specify this in the sourcetype definition in props.conf:

LINE_BREAKER=.{200}()
SHOULD_LINEMERGE=0
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 ...