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!

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...