<?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 Is there a way to directly get the results as csv using a browser in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-directly-get-the-results-as-csv-using-a/m-p/343056#M63158</link>
    <description>&lt;P&gt;Is there a way to view a splunk query directly as a CVS? &lt;/P&gt;

&lt;P&gt;In reviewing the REST API the curl command below gets me the output as CSV&lt;/P&gt;

&lt;P&gt;curl -k -u userABC:pass#### &lt;A href="https://splunk.server:8089/services/search/jobs/1488985371.7077_D6AE46D6-FC4C-48A5-9F24-7912363C18D1/results/"&gt;https://splunk.server:8089/services/search/jobs/1488985371.7077_D6AE46D6-FC4C-48A5-9F24-7912363C18D1/results/&lt;/A&gt;  -d output_mode=csv --get &lt;/P&gt;

&lt;P&gt;when i copy and past the URL (&lt;A href="https://splunk.server:8089/services/search/jobs/1488985371.7077_D6AE46D6-FC4C-48A5-9F24-7912363C18D1/results/"&gt;https://splunk.server:8089/services/search/jobs/1488985371.7077_D6AE46D6-FC4C-48A5-9F24-7912363C18D1/results/&lt;/A&gt;) into a browser, it displays it as an xml. Is  there a way to display this URL as a csv in a browser? &lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2017 19:35:17 GMT</pubDate>
    <dc:creator>spammenot66</dc:creator>
    <dc:date>2017-03-08T19:35:17Z</dc:date>
    <item>
      <title>Is there a way to directly get the results as csv using a browser</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-directly-get-the-results-as-csv-using-a/m-p/343056#M63158</link>
      <description>&lt;P&gt;Is there a way to view a splunk query directly as a CVS? &lt;/P&gt;

&lt;P&gt;In reviewing the REST API the curl command below gets me the output as CSV&lt;/P&gt;

&lt;P&gt;curl -k -u userABC:pass#### &lt;A href="https://splunk.server:8089/services/search/jobs/1488985371.7077_D6AE46D6-FC4C-48A5-9F24-7912363C18D1/results/"&gt;https://splunk.server:8089/services/search/jobs/1488985371.7077_D6AE46D6-FC4C-48A5-9F24-7912363C18D1/results/&lt;/A&gt;  -d output_mode=csv --get &lt;/P&gt;

&lt;P&gt;when i copy and past the URL (&lt;A href="https://splunk.server:8089/services/search/jobs/1488985371.7077_D6AE46D6-FC4C-48A5-9F24-7912363C18D1/results/"&gt;https://splunk.server:8089/services/search/jobs/1488985371.7077_D6AE46D6-FC4C-48A5-9F24-7912363C18D1/results/&lt;/A&gt;) into a browser, it displays it as an xml. Is  there a way to display this URL as a csv in a browser? &lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2017 19:35:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-directly-get-the-results-as-csv-using-a/m-p/343056#M63158</guid>
      <dc:creator>spammenot66</dc:creator>
      <dc:date>2017-03-08T19:35:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to directly get the results as csv using a browser</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-directly-get-the-results-as-csv-using-a/m-p/343057#M63159</link>
      <description>&lt;P&gt;Run the following direcly in Splunk Search. Make use of &lt;STRONG&gt;rest&lt;/STRONG&gt; generating command which outputs results in table.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/search/jobs/1488985371.7077_D6AE46D6-FC4C-48A5-9F24-7912363C18D1/results/
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Refer to Splunk documentation for details: &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Rest"&gt;http://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Rest&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 Mar 2017 11:01:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Is-there-a-way-to-directly-get-the-results-as-csv-using-a/m-p/343057#M63159</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2017-03-09T11:01:26Z</dc:date>
    </item>
  </channel>
</rss>

