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!

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer at Splunk .conf24 ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...

Combine Multiline Logs into a Single Event with SOCK: a Step-by-Step Guide for ...

Combine multiline logs into a single event with SOCK - a step-by-step guide for newbies Olga Malita The ...