<?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: REST API realtime searches with output_mode set to json in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-realtime-searches-with-output-mode-set-to-json/m-p/49208#M9356</link>
    <description>&lt;P&gt;This gives me a 404 on Splunk 5.0.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Sep 2013 20:36:47 GMT</pubDate>
    <dc:creator>ff_djimenez</dc:creator>
    <dc:date>2013-09-16T20:36:47Z</dc:date>
    <item>
      <title>REST API realtime searches with output_mode set to json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-realtime-searches-with-output-mode-set-to-json/m-p/49206#M9354</link>
      <description>&lt;P&gt;Not sure if this has been raised before but I couldn't find anything.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k -u admin:changeme &lt;A href="https://localhost:8089/services/search/jobs/export" target="test_blank"&gt;https://localhost:8089/services/search/jobs/export&lt;/A&gt; -d search="search sourcetype=sometype" -d earliest_time="rt-30m" latest_time="rt"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;works perfectly.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;curl -k -u admin:changeme &lt;A href="https://localhost:8089/services/search/jobs/export" target="test_blank"&gt;https://localhost:8089/services/search/jobs/export&lt;/A&gt; -d search="search sourcetype=sometype" -d earliest_time="rt-30m" latest_time="rt" output_mode="json"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does not return anything. Is this intended behavior or just a missing feature?&lt;/P&gt;</description>
      <pubDate>Fri, 11 May 2012 06:49:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-realtime-searches-with-output-mode-set-to-json/m-p/49206#M9354</guid>
      <dc:creator>johandk</dc:creator>
      <dc:date>2012-05-11T06:49:59Z</dc:date>
    </item>
    <item>
      <title>Re: REST API realtime searches with output_mode set to json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-realtime-searches-with-output-mode-set-to-json/m-p/49207#M9355</link>
      <description>&lt;P&gt;Add -d to the http post data requests. So in this case, I believe the correct curl string would be:&lt;/P&gt;

&lt;P&gt;curl -k -u admin:changeme &lt;A href="https://localhost:8089/services/search/jobs/export" target="_blank"&gt;https://localhost:8089/services/search/jobs/export&lt;/A&gt; -d search="search sourcetype=sometype" -d earliest_time="rt-30m" -d latest_time="rt" -d output_mode="json"&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 12:19:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-realtime-searches-with-output-mode-set-to-json/m-p/49207#M9355</guid>
      <dc:creator>gstewart</dc:creator>
      <dc:date>2020-09-28T12:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: REST API realtime searches with output_mode set to json</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/REST-API-realtime-searches-with-output-mode-set-to-json/m-p/49208#M9356</link>
      <description>&lt;P&gt;This gives me a 404 on Splunk 5.0.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2013 20:36:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/REST-API-realtime-searches-with-output-mode-set-to-json/m-p/49208#M9356</guid>
      <dc:creator>ff_djimenez</dc:creator>
      <dc:date>2013-09-16T20:36:47Z</dc:date>
    </item>
  </channel>
</rss>

