Getting Data In

Xml logs event separation

volkanyilmaz
New Member

Hi. I have 10000 xml log output. like :
{LOG
DATE.../DATE
TIME.../TIME
CC.../CC
AMOUNT.../AMOUNT
/LOG}
I need to break event after every .each event should like that between two tag. I am trying to change the configuration in the props.conf but I still could not break the event into LOG. I tried to configure in the props.conf like :

BREAK_ONLY_BEFORE = ([\r\n])LOG
LINE_BREAKER = ([\r\n]
)LOG
SHOULD_LINEMERGE = false

Thanks for in advance

Tags (1)
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi volkanyilmaz,
try something like this:

LINE_BREAKER = \{LOG
SHOULD_LINEMERGE = false

Bye.
Giuseppe

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...