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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...