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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...