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
SplunkTrust
SplunkTrust

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!

Streamline Data Ingestion With Deployment Server Essentials

REGISTER NOW!Every day the list of sources Admins are responsible for gets bigger and bigger, often making the ...

Remediate Threats Faster and Simplify Investigations With Splunk Enterprise Security ...

REGISTER NOW!Join us for a Tech Talk around our latest release of Splunk Enterprise Security 7.2! We’ll walk ...

Introduction to Splunk AI

WATCH NOWHow are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. ...