<?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 a search result automatically to my local c:\ in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Export-a-search-result-automatically-to-my-local-c/m-p/475362#M7651</link>
    <description>&lt;P&gt;The outputcsv command saves search results to the specified CSV file on the local search head in the $SPLUNK_HOME/var/run/splunk/csv directory. You probably need a custom search command to achieve what you want.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2019 13:39:26 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2019-09-11T13:39:26Z</dc:date>
    <item>
      <title>Export a search result automatically to my local c:\</title>
      <link>https://community.splunk.com/t5/Reporting/Export-a-search-result-automatically-to-my-local-c/m-p/475361#M7650</link>
      <description>&lt;P&gt;Hi Experts,&lt;BR /&gt;
                      I want to insert a Splunk URL into a right click function in my app to open a set of results and save down to the local c:\  I tried the following &lt;/P&gt;

&lt;P&gt;transid123 sourcetype="blah" |reverse |outputtext usexml=false | rename _xml as raw | fields raw | fields - _* | outputcsv C:/Temp/results.txt&lt;/P&gt;

&lt;P&gt;I get results but a message saying &lt;BR /&gt;
Could not write to file 'C:/Temp/results.txt': Failed to open file for writing.&lt;/P&gt;

&lt;P&gt;Is there a different way to do this ?  &lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 12:50:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Export-a-search-result-automatically-to-my-local-c/m-p/475361#M7650</guid>
      <dc:creator>luckyman80</dc:creator>
      <dc:date>2019-09-11T12:50:10Z</dc:date>
    </item>
    <item>
      <title>Re: Export a search result automatically to my local c:\</title>
      <link>https://community.splunk.com/t5/Reporting/Export-a-search-result-automatically-to-my-local-c/m-p/475362#M7651</link>
      <description>&lt;P&gt;The outputcsv command saves search results to the specified CSV file on the local search head in the $SPLUNK_HOME/var/run/splunk/csv directory. You probably need a custom search command to achieve what you want.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 13:39:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Export-a-search-result-automatically-to-my-local-c/m-p/475362#M7651</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2019-09-11T13:39:26Z</dc:date>
    </item>
  </channel>
</rss>

