提取schemaVersion splunk

时间:2018-11-21 18:58:06

标签: xml splunk splunk-query

我有很多这样的XML:

<?xml version="1.0" encoding="UTF-8"?>
<req:TestObject xmlns:req="http://www.company.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.company.com test-object-req.xsd" schemaVersion="3.0">

如何在splunk中提取“ SchemaVersion”。例如:

Schema | NumberOfRequests

 3.0   |   10

 2.0   |   5

0 个答案:

没有答案