<?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: Export Splunk results to an XML output? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Export-Splunk-results-to-an-XML-output/m-p/102188#M5743</link>
    <description>&lt;P&gt;Ok, I have found out that there is an automated feature in splunk that allows you to export your results at a Click of a Button ( Basically the Action Menu &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; ).&lt;/P&gt;

&lt;P&gt;I also discovered with &lt;STRONG&gt;Damien's&lt;/STRONG&gt; help that I can play around with it using the REST API, via a Python Script so that I may Modify the XML to the way I want it to look.&lt;/P&gt;

&lt;P&gt;But Im not exactly %100 sure that if you can Modify the OutPut XML to your requirements?, can this be done?, has anyone ever tried this?, again the only person I found that actually engaged in performing this the way I want to is &lt;STRONG&gt;MW&lt;/STRONG&gt; with his question: &lt;A href="http://splunk-base.splunk.com/answers/13739/output-xml-via-a-custom-search-command"&gt;http://splunk-base.splunk.com/answers/13739/output-xml-via-a-custom-search-command&lt;/A&gt;  &lt;/P&gt;</description>
    <pubDate>Wed, 02 Nov 2011 06:48:39 GMT</pubDate>
    <dc:creator>Dark_Ichigo</dc:creator>
    <dc:date>2011-11-02T06:48:39Z</dc:date>
    <item>
      <title>Export Splunk results to an XML output?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Export-Splunk-results-to-an-XML-output/m-p/102185#M5740</link>
      <description>&lt;P&gt;Is there a way to export Splunk results from a Report, chart...etc to an XML based output?&lt;/P&gt;

&lt;P&gt;I noticed that someone was trying to accomplish this but there wasn't enough information on the approach of how he was achieving this: &lt;A href="http://splunk-base.splunk.com/answers/13739/output-xml-via-a-custom-search-command"&gt;http://splunk-base.splunk.com/answers/13739/output-xml-via-a-custom-search-command&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2011 04:57:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Export-Splunk-results-to-an-XML-output/m-p/102185#M5740</guid>
      <dc:creator>Dark_Ichigo</dc:creator>
      <dc:date>2011-11-02T04:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Export Splunk results to an XML output?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Export-Splunk-results-to-an-XML-output/m-p/102186#M5741</link>
      <description>&lt;P&gt;Not an export as such, but you could invoke the search using the REST api.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2011 05:41:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Export-Splunk-results-to-an-XML-output/m-p/102186#M5741</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2011-11-02T05:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: Export Splunk results to an XML output?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Export-Splunk-results-to-an-XML-output/m-p/102187#M5742</link>
      <description>&lt;P&gt;So I can extract the events and arrange them by there field names using a python script to do so?&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2011 05:50:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Export-Splunk-results-to-an-XML-output/m-p/102187#M5742</guid>
      <dc:creator>Dark_Ichigo</dc:creator>
      <dc:date>2011-11-02T05:50:48Z</dc:date>
    </item>
    <item>
      <title>Re: Export Splunk results to an XML output?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Export-Splunk-results-to-an-XML-output/m-p/102188#M5743</link>
      <description>&lt;P&gt;Ok, I have found out that there is an automated feature in splunk that allows you to export your results at a Click of a Button ( Basically the Action Menu &lt;span class="lia-unicode-emoji" title=":face_with_tongue:"&gt;😛&lt;/span&gt; ).&lt;/P&gt;

&lt;P&gt;I also discovered with &lt;STRONG&gt;Damien's&lt;/STRONG&gt; help that I can play around with it using the REST API, via a Python Script so that I may Modify the XML to the way I want it to look.&lt;/P&gt;

&lt;P&gt;But Im not exactly %100 sure that if you can Modify the OutPut XML to your requirements?, can this be done?, has anyone ever tried this?, again the only person I found that actually engaged in performing this the way I want to is &lt;STRONG&gt;MW&lt;/STRONG&gt; with his question: &lt;A href="http://splunk-base.splunk.com/answers/13739/output-xml-via-a-custom-search-command"&gt;http://splunk-base.splunk.com/answers/13739/output-xml-via-a-custom-search-command&lt;/A&gt;  &lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2011 06:48:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Export-Splunk-results-to-an-XML-output/m-p/102188#M5743</guid>
      <dc:creator>Dark_Ichigo</dc:creator>
      <dc:date>2011-11-02T06:48:39Z</dc:date>
    </item>
    <item>
      <title>Re: Export Splunk results to an XML output?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Export-Splunk-results-to-an-XML-output/m-p/102189#M5744</link>
      <description>&lt;P&gt;I'm not sure about the feasibility of modifying the schema of the response XML.&lt;BR /&gt;
But as you mention, from your python script, you could use the Splunk Python SDK and then transform the original result XML from the REST call into an XML format to suit your specific requirements.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Nov 2011 23:56:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Export-Splunk-results-to-an-XML-output/m-p/102189#M5744</guid>
      <dc:creator>Damien_Dallimor</dc:creator>
      <dc:date>2011-11-02T23:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: Export Splunk results to an XML output?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Export-Splunk-results-to-an-XML-output/m-p/102190#M5745</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;Looks like this can be done via splunkweb,CLI,REST API,SDK's &amp;amp; Dump commands. PFB link for more information:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.6.0/Search/Exportsearchresults"&gt;http://docs.splunk.com/Documentation/Splunk/6.6.0/Search/Exportsearchresults&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 18 May 2017 04:51:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Export-Splunk-results-to-an-XML-output/m-p/102190#M5745</guid>
      <dc:creator>bharathkumarnec</dc:creator>
      <dc:date>2017-05-18T04:51:59Z</dc:date>
    </item>
  </channel>
</rss>

