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!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...