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!

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...