Getting Data In

Multiline event not working

ngvella
Explorer

I've tried several different configurations and can't seem to get this to work. I have a log file like:

"3/23/2014 4:41:16 AM - Start String"
"3/23/2014 4:41:16 AM -     data"
"3/23/2014 4:41:16 AM -     data"   
"3/23/2014 4:41:33 AM -     data"
"3/23/2014 4:41:33 AM - Finished"
"3/23/2014 5:24:34 AM - Start String"

I've tried a lot of different configs here was my last try:

props.conf

[sourcetype]
SHOULD_LINEMERGE = True
BREAK_ONLY_BEFORE = Start\sString

Trying to simplify it. i previously had it BREAK_ONLY_BEFORE = regular expression date+ "start string" but it always just does one-line-per-event.

0 Karma

ngvella
Explorer

Embarassingly i didn't have the file in /etc/system/local

MuS
Legend

two things pop up here: does the sourcetype match and is your regex string on a new line?

0 Karma
Get Updates on the Splunk Community!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...