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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...