Hi hope someone can help. I'm new to Splunk and can see it's potential for what I require, but I'm struggling to get some XML's to format correctly. I've looked at loads of example answers, but none of them see to make the xml easily readable, I've a feeling when trying to apply examples, because the word "call" appears so often, it's messing up the result. I've trying multiple examples in props.conf and transforms.conf, but seems to have little effect
What I'm trying to achieve is the info between <call> and </call> (not calls and calls) to appear on an combined line and "discard" the rest. At the moment it all seems to be a little bit all over the place.
Any help would be really, really appreciated.
Hopefully once I can get the basics done, I can progress onto a nice set up anyone can use.
<?xml version="1.0"?>
<calls>
<call>
<call_time>2017-03-27T15:46:38+01:00</call_time>
<duration>PT50.189S</duration>
<condition_code>9</condition_code>
<parties>
<dialed_number>
[email protected]</dialed_number>
<calling_number>
[email protected]</calling_number>
</parties>
<sip_entities>
<terminating>NNNLISBCE</terminating>
<originating>UKDCNNNNNNN</originating>
</sip_entities>
<feature_flag>4</feature_flag>
<bcc>M</bcc>
<ma_uui>0</ma_uui>
<resource_flag>0</resource_flag>
<bandwidth>1</bandwidth>
<av_gsid>007651bf-NNNN-4701-NNNN-57c36b590000</av_gsid>
<ip_addresses>
<calling>192.0.0.50</calling>
<called>192.0.0.51</called>
</ip_addresses>
<usage>
<voice>Y</voice>
<video>N</video>
<fax>N</fax>
<text>N</text>
<other>N</other>
</usage>
<codec>8</codec>
<tenant_ids>
<calling></calling>
<called></called>
</tenant_ids>
</call>
<call>
<call_time>2017-03-27T15:46:53+01:00</call_time>
<duration>PT19.737S</duration>
<condition_code>9</condition_code>
<parties>
<dialed_number>*
[email protected]:5060</dialed_number>
<calling_number>
[email protected]:19937</calling_number>
</parties>
<sip_entities>
<terminating>UKDCNNNNNN</terminating>
<originating>RONNNNNNN</originating>
</sip_entities>
<feature_flag>4</feature_flag>
<bcc>M</bcc>
<ma_uui>0</ma_uui>
<resource_flag>0</resource_flag>
<bandwidth>1</bandwidth>
<av_gsid>2a774e90-NNNN-11e7-NNNNN-f8bc125544b0</av_gsid>
<ip_addresses>
<calling>192.0.0.50</calling>
<called>192.0.0.55</called>
</ip_addresses>
<usage>
<voice>Y</voice>
<video>N</video>
<fax>N</fax>
<text>N</text>
<other>N</other>
</usage>
<codec>8</codec>
<tenant_ids>
<calling></calling>
<called></called>
</tenant_ids>
</call>
</call>
</calls>
... View more