Getting Data In

multi line event, break with a empty line

crazyeva
Contributor

Hi
I want to import some mussy data to splunk
every event takes multi lines
with an empty line declaring its end
likes below shows two events:
XXX XXX XXXX
XXX XXX XX

XXX XXXX XX
XXXX XX XXXXX
XX XXX
The empty line seems to be the only basis on which could be depended to break up the event
But when i "preview" this data, empty lines are filtered.

Tags (1)
1 Solution

ziegfried
Influencer

These props.conf settings should help:

[mysourcetype]
SHOULD_LINEMERGE = false
LINE_BREAKER = ((?:\r?\n){2,})

View solution in original post

ziegfried
Influencer

These props.conf settings should help:

[mysourcetype]
SHOULD_LINEMERGE = false
LINE_BREAKER = ((?:\r?\n){2,})

crazyeva
Contributor

exactly solved

0 Karma
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 ...