Getting Data In

How to edit my props.conf to linebreak a Simple XML log into multiple events?

mmensch
Path Finder

Hi,

I have been trying to implement a stanza to break a long line of XML into multiple events, but it is not functioning as expected. As you can see, it is Simple XML with every "event" ending with the "/>" characters.

Sample XML:

<SAMPLE LOG Time="2016-11-07T03:19:01" User="xxxx" Action="yyyyy" /><SAMPLE LOG Time="2016-11-07T03:19:01" User="xxxx" Action="yyyyy"/>

Props.conf

[source::source-to-break]
LINE_BREAKER = />
SHOULD_LINEMERGE=true

Any help here would be appreciated.

0 Karma

rodrigorsilva
Communicator

Hi,

You can try this:

[ source::source-to-break]
SHOULD_LINEMERGE=true
NO_BINARY_CHECK=true
BREAK_ONLY_BEFORE="\/>

Tks

Rodrigo Ribeiro

0 Karma
Get Updates on the Splunk Community!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

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