<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: XML Reports in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/XML-Reports/m-p/106795#M6032</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I know this is an old post, but did you ever get this working. I am using openvas too&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2013 11:49:31 GMT</pubDate>
    <dc:creator>phillip_rice</dc:creator>
    <dc:date>2013-12-17T11:49:31Z</dc:date>
    <item>
      <title>XML Reports</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/XML-Reports/m-p/106792#M6029</link>
      <description>&lt;P&gt;I am trying to parse XML reports (that I receive from OpenVas) in Splunk.But I am not able to find the right way to do it. I haven't found much documentation around this either. I've read up on whatever I could find, but nothing helped.  I've tried xmlkv and xpath commands to try and parse the XML. But I am at a complete loss because these reports are really big and its difficult to find a correlation between the fields. I've been trying to figure this out for a couple of months but I haven't come up with a good solution so far. Also because some of the fields are deeply nested, its getting complicated to extract these fields keeping the structure intact. Is it a good idea to still attempt to parse these fields or should I consider changing the report format? As much as possible, I'd like to avoid that. I'm receiving this report on a port as a single event (meaning, the complete report of about 100 lines is indexed as a single event in Splunk). &lt;BR /&gt;
Any help on this will be greatly appreciated. I can provide a sample of the file if it is necessary.&lt;BR /&gt;
Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2012 15:14:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/XML-Reports/m-p/106792#M6029</guid>
      <dc:creator>Sheela</dc:creator>
      <dc:date>2012-04-02T15:14:16Z</dc:date>
    </item>
    <item>
      <title>Re: XML Reports</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/XML-Reports/m-p/106793#M6030</link>
      <description>&lt;P&gt;You should be looking at the spath command (as long as you on version 4.3 or higher). xmlkv and xpath are somewhat more complex and less flexible.&lt;/P&gt;</description>
      <pubDate>Mon, 02 Apr 2012 17:30:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/XML-Reports/m-p/106793#M6030</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2012-04-02T17:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: XML Reports</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/XML-Reports/m-p/106794#M6031</link>
      <description>&lt;P&gt;Ok, thank you for the quick response. I tried using spath like this, &lt;/P&gt;

&lt;P&gt;whatever_search | spath output=scan_end path=report.report.scan_end &lt;/P&gt;

&lt;P&gt;The XML format:&lt;BR /&gt;
&lt;REPORT extension="xml" content_type="text/xml" id="fd92e00e-7a6e-4504-b153-b8fdc21bffaf" format_id="d5da9f67-8551-4e51-807b-b6a873d70e34"&gt;&lt;BR /&gt;
&lt;REPORT id="fd92e00e-7a6e-4504-b153-b8fdc21bffaf"&gt;&lt;BR /&gt;
&lt;REPORT_FORMAT&gt;&lt;/REPORT_FORMAT&gt;&lt;BR /&gt;
...&lt;BR /&gt;
&lt;SCAN_END&gt;Sat Mar 31 21:16:59 2012&lt;/SCAN_END&gt;&lt;BR /&gt;
&lt;/REPORT&gt;&lt;BR /&gt;
&lt;/REPORT&gt;&lt;/P&gt;

&lt;P&gt;So the scan_end field should contain "Sat Mar 31 21:16:59 2012", correct? But I don't see that field at all. Am I missing something?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 11:37:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/XML-Reports/m-p/106794#M6031</guid>
      <dc:creator>Sheela</dc:creator>
      <dc:date>2020-09-28T11:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: XML Reports</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/XML-Reports/m-p/106795#M6032</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;I know this is an old post, but did you ever get this working. I am using openvas too&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2013 11:49:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/XML-Reports/m-p/106795#M6032</guid>
      <dc:creator>phillip_rice</dc:creator>
      <dc:date>2013-12-17T11:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: XML Reports</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/XML-Reports/m-p/106796#M6033</link>
      <description>&lt;P&gt;Anything about openvas vulnerability scans in xml format ?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Sep 2016 09:56:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/XML-Reports/m-p/106796#M6033</guid>
      <dc:creator>TMazurek</dc:creator>
      <dc:date>2016-09-07T09:56:21Z</dc:date>
    </item>
  </channel>
</rss>

