<?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 Splunk Rest Commands Invalid in Monitoring Splunk</title>
    <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Rest-Commands-Invalid/m-p/654106#M9758</link>
    <description>&lt;P&gt;I have a HF that was recently expanded in terms of its RAM capacity. Ever since, there has been an issue with REST commands off specific endpoint.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;| rest splunk_server=splunk-hf1 /services/server/info (&lt;STRONG&gt;Works great and gives me the expected results)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;| rest splunk_server_group=dmc_group_* /services/server/status/resource-usage/hostwide (&lt;STRONG&gt;When I run it it acts like some of my servers, including a HF has 0 memory&lt;/STRONG&gt;)&lt;/P&gt;</description>
    <pubDate>Fri, 11 Aug 2023 15:39:19 GMT</pubDate>
    <dc:creator>andrew_burnett</dc:creator>
    <dc:date>2023-08-11T15:39:19Z</dc:date>
    <item>
      <title>Splunk Rest Commands Invalid</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Rest-Commands-Invalid/m-p/654106#M9758</link>
      <description>&lt;P&gt;I have a HF that was recently expanded in terms of its RAM capacity. Ever since, there has been an issue with REST commands off specific endpoint.&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;| rest splunk_server=splunk-hf1 /services/server/info (&lt;STRONG&gt;Works great and gives me the expected results)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;| rest splunk_server_group=dmc_group_* /services/server/status/resource-usage/hostwide (&lt;STRONG&gt;When I run it it acts like some of my servers, including a HF has 0 memory&lt;/STRONG&gt;)&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 15:39:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Rest-Commands-Invalid/m-p/654106#M9758</guid>
      <dc:creator>andrew_burnett</dc:creator>
      <dc:date>2023-08-11T15:39:19Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Rest Commands Invalid</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Rest-Commands-Invalid/m-p/654107#M9759</link>
      <description>&lt;P&gt;It makes no difference if I change it and run it on the HF locally itself, the second REST command never works.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 15:52:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Rest-Commands-Invalid/m-p/654107#M9759</guid>
      <dc:creator>andrew_burnett</dc:creator>
      <dc:date>2023-08-11T15:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Splunk Rest Commands Invalid</title>
      <link>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Rest-Commands-Invalid/m-p/654109#M9760</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;What I have realised with REST api, it could give you a wrong answers if there has happened something "weird" after splunkd has restarted and even sometime if host hasn't rebooted e.g. after volumes/LUNs have added.&lt;/P&gt;&lt;P&gt;So have you try to restart splunkd on those host which you have wrong information? Also do same if you have added mem to host as live operation.&lt;/P&gt;&lt;P&gt;I also suggest you to "disable boot-start" and reenable it after memory changes.&lt;/P&gt;&lt;P&gt;In my test env these seems to work correctly (removed some unneeded lines from output)&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[splunk@splunk-demo-rh8] ~&amp;gt;
(0) $ splunk search '| rest splunk_server_group=* /services/server/status/resource-usage/hostwide' -output json|jq|egrep mem
    "mem": "15725.703",
[splunk@splunk-demo-rh8] ~&amp;gt;
(0) $ splunk search '| rest splunk_server=local /services/server/info' -output json|jq|egrep -i mem
    "physicalMemoryMB": "15725",
[splunk@splunk-demo-rh8] ~&amp;gt;
(0) $&lt;/LI-CODE&gt;&lt;P&gt;Splunk 9.0.5&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;r. Ismo&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2023 16:13:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Monitoring-Splunk/Splunk-Rest-Commands-Invalid/m-p/654109#M9760</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2023-08-11T16:13:09Z</dc:date>
    </item>
  </channel>
</rss>

