I have a file that has multiple multi line events. Each event is broken up into "INFO: ---" or "ERROR: ---"
ERROR: ---
blahNewsLetter: N
birthdate: 1947-10-25
countryId: 1
createdOn: 2011-05-31 13:40:46
...
INFO: ---
blahNewsLetter: ~
birthdate: 0000-00-00
countryId: ~
createdOn: 2011-05-31 13:40:48
...
My props.conf
[dblog]
SHOULD_LINEMERGE = true
# force splunk to detec multiline events
BREAK_ONLY_BEFORE = (.*)(INFO|ERROR):
My inputs.conf
[monitor:///var/log/dblog.log]
disabled = false
index = blah
sourcetype = dblog
blacklist = (\.(gz|bz2|z|zip)$)
followTail = 1
This does not work. It is splitting the file up into events that have lines similar to the "createdOn: 2011-05-31 13:40:48" lines.
modifiedOn: 2011-05-31 13:40:48
postalCode: 1111
promoCode: ~
requestDetail: |-
<request>
<billToEmail>null</billToEmail>
<billToFirstName>Name</billToFirstName>
<billToLastName>Name</billToLastName>
<billToStreet1>null</billToStreet1>
<billToStreet2>null</billToStreet2>
...
and
createdOn: 2011-05-31 13:40:48
email:
[email protected]
Any help would be appreciated. And I have also tried using BREAK_ONLY_BEFORE_DATE = false with same result. This is currently on the forwarder.
... View more