<?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 Why has using the rest command to search REST API stopped working after upgrading to 6.5.3? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Why-has-using-the-rest-command-to-search-REST-API-stopped/m-p/309144#M58162</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I used to periodically query the REST API using the search app in Splunk Web, something like so:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/deployment/server/clients/ | rename hostname as host utsname as os  | table host os 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've recently upgraded Splunk Enterprise from 6.4.3 to 6.5.3 and have now noticed that the above search yields no results.  Does anyone know what may have changed that has caused this REST command to no longer function?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 23 May 2017 18:44:50 GMT</pubDate>
    <dc:creator>vanderaj2</dc:creator>
    <dc:date>2017-05-23T18:44:50Z</dc:date>
    <item>
      <title>Why has using the rest command to search REST API stopped working after upgrading to 6.5.3?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-has-using-the-rest-command-to-search-REST-API-stopped/m-p/309144#M58162</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I used to periodically query the REST API using the search app in Splunk Web, something like so:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/deployment/server/clients/ | rename hostname as host utsname as os  | table host os 
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I've recently upgraded Splunk Enterprise from 6.4.3 to 6.5.3 and have now noticed that the above search yields no results.  Does anyone know what may have changed that has caused this REST command to no longer function?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 23 May 2017 18:44:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-has-using-the-rest-command-to-search-REST-API-stopped/m-p/309144#M58162</guid>
      <dc:creator>vanderaj2</dc:creator>
      <dc:date>2017-05-23T18:44:50Z</dc:date>
    </item>
    <item>
      <title>Re: Why has using the rest command to search REST API stopped working after upgrading to 6.5.3?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-has-using-the-rest-command-to-search-REST-API-stopped/m-p/309145#M58163</link>
      <description>&lt;P&gt;try this rest command for starters:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/deployment/server/clients/
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;check the correct field names!&lt;BR /&gt;
looks like the rest of your command has some typos in it:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;   ... | rename hostname as host **utsname** as os  | table host os
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;try instead:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ... | rename &amp;lt;field1&amp;gt; as 1, &amp;lt;field2&amp;gt; as 2, ... &amp;lt;fieldN&amp;gt; as N | table 1 2 ... N
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;you can take it from here&lt;BR /&gt;
hope it helps&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 02:35:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-has-using-the-rest-command-to-search-REST-API-stopped/m-p/309145#M58163</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2017-05-24T02:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Why has using the rest command to search REST API stopped working after upgrading to 6.5.3?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-has-using-the-rest-command-to-search-REST-API-stopped/m-p/309146#M58164</link>
      <description>&lt;P&gt;Are you running this on your Deployment server?&lt;/P&gt;

&lt;P&gt;| Rest is now running by default only on the local server&lt;/P&gt;

&lt;P&gt;try &lt;CODE&gt;| rest /services/deployment/server/clients/ splunk_server=* | rename hostname as host utsname as os  | table host os&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 06:02:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-has-using-the-rest-command-to-search-REST-API-stopped/m-p/309146#M58164</guid>
      <dc:creator>teunlaan</dc:creator>
      <dc:date>2017-05-24T06:02:46Z</dc:date>
    </item>
    <item>
      <title>Re: Why has using the rest command to search REST API stopped working after upgrading to 6.5.3?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Why-has-using-the-rest-command-to-search-REST-API-stopped/m-p/309147#M58165</link>
      <description>&lt;P&gt;That was it!  Had to add splunk_server=* to my SPL query for this to work.  Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2017 17:47:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Why-has-using-the-rest-command-to-search-REST-API-stopped/m-p/309147#M58165</guid>
      <dc:creator>vanderaj2</dc:creator>
      <dc:date>2017-05-24T17:47:56Z</dc:date>
    </item>
  </channel>
</rss>

