<?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 Download raw Splunk logs via api in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/Download-raw-Splunk-logs-via-api/m-p/524763#M3811</link>
    <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;how to remotely execute a search and download the search results and store in a shared drive or a CSV file.&lt;/P&gt;</description>
    <pubDate>Thu, 15 Oct 2020 04:20:21 GMT</pubDate>
    <dc:creator>vj_hawk21</dc:creator>
    <dc:date>2020-10-15T04:20:21Z</dc:date>
    <item>
      <title>Download raw Splunk logs via api</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Download-raw-Splunk-logs-via-api/m-p/524763#M3811</link>
      <description>&lt;P&gt;Team,&lt;/P&gt;&lt;P&gt;how to remotely execute a search and download the search results and store in a shared drive or a CSV file.&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 04:20:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Download-raw-Splunk-logs-via-api/m-p/524763#M3811</guid>
      <dc:creator>vj_hawk21</dc:creator>
      <dc:date>2020-10-15T04:20:21Z</dc:date>
    </item>
    <item>
      <title>Re: Download raw Splunk logs via api</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Download-raw-Splunk-logs-via-api/m-p/524807#M3819</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225074"&gt;@vj_hawk21&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Please check the documentation about the REST API:&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.6/RESTTUT/RESTsearches" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.6/RESTTUT/RESTsearches&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You create a search job, get the sid back and with the sid you can get the results.&lt;BR /&gt;&lt;BR /&gt;To receive the results as csv, you would have to use&amp;nbsp;&lt;EM&gt;output_mode=csv&amp;nbsp; &lt;/EM&gt;as indicated &lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.6/RESTTUT/RESTsearches#Get_search_results" target="_self"&gt;here&lt;/A&gt;&lt;EM&gt;.&amp;nbsp;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;BR&lt;BR /&gt;Ralph&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 09:07:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Download-raw-Splunk-logs-via-api/m-p/524807#M3819</guid>
      <dc:creator>rnowitzki</dc:creator>
      <dc:date>2020-10-15T09:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Download raw Splunk logs via api</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Download-raw-Splunk-logs-via-api/m-p/524919#M3832</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/64317"&gt;@rnowitzki&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your response.&lt;/P&gt;&lt;P&gt;I have created the search but not able to find its sid/vsid/searc_id.. how to identify the SID?&lt;/P&gt;&lt;P&gt;Thx&amp;nbsp;&lt;/P&gt;&lt;P&gt;VJ&lt;/P&gt;</description>
      <pubDate>Thu, 15 Oct 2020 18:02:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Download-raw-Splunk-logs-via-api/m-p/524919#M3832</guid>
      <dc:creator>vj_hawk21</dc:creator>
      <dc:date>2020-10-15T18:02:45Z</dc:date>
    </item>
    <item>
      <title>Re: Download raw Splunk logs via api</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/Download-raw-Splunk-logs-via-api/m-p/525009#M3837</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225074"&gt;@vj_hawk21&lt;/a&gt;&amp;nbsp;,&lt;BR /&gt;&lt;BR /&gt;When you created the Job, the sid was in the response.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt; &amp;lt;sid&amp;gt;1258421375.19&amp;lt;/sid&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Also, you can get a list of your searches with&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;curl -u admin:changeme -k https://localhost:8089/services/search/jobs/&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR&lt;BR /&gt;Ralph&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 07:24:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/Download-raw-Splunk-logs-via-api/m-p/525009#M3837</guid>
      <dc:creator>rnowitzki</dc:creator>
      <dc:date>2020-10-16T07:24:30Z</dc:date>
    </item>
  </channel>
</rss>

