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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...