<?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: How to check server roles via the rest api? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-check-server-roles-via-the-rest-api/m-p/322092#M60038</link>
    <description>&lt;P&gt;I have looked into that REST API. I am trying out Splunk now so I am not sure whether some of the roles are associated with licenses or not. For now, my splunk enterprise installs have ["license_master","indexer"] roles and my universal forwarder has ["universal_forwarder","license_master"] roles. I cannot see "heavyweight_forwarder" in the roles endpoint although I have configured one enterprise instance to forward data. Is it related to licensing or do I need to use a deployment server to assign roles (and can it even be done with trial license)?&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 15:02:26 GMT</pubDate>
    <dc:creator>anton085</dc:creator>
    <dc:date>2020-09-29T15:02:26Z</dc:date>
    <item>
      <title>How to check server roles via the rest api?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-check-server-roles-via-the-rest-api/m-p/322090#M60036</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am new to Splunk. I want to know if I can tell the differences of roles of Splunk servers using the REST API. For example, is it possible to know if a Splunk server is a heavy forwarder or a universal forwarder, or an indexer?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 14:57:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-check-server-roles-via-the-rest-api/m-p/322090#M60036</guid>
      <dc:creator>anton085</dc:creator>
      <dc:date>2017-07-21T14:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to check server roles via the rest api?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-check-server-roles-via-the-rest-api/m-p/322091#M60037</link>
      <description>&lt;P&gt;See this&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.6/RESTREF/RESTsystem#server.2Froles"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.6/RESTREF/RESTsystem#server.2Froles&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 17:22:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-check-server-roles-via-the-rest-api/m-p/322091#M60037</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-07-21T17:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to check server roles via the rest api?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-check-server-roles-via-the-rest-api/m-p/322092#M60038</link>
      <description>&lt;P&gt;I have looked into that REST API. I am trying out Splunk now so I am not sure whether some of the roles are associated with licenses or not. For now, my splunk enterprise installs have ["license_master","indexer"] roles and my universal forwarder has ["universal_forwarder","license_master"] roles. I cannot see "heavyweight_forwarder" in the roles endpoint although I have configured one enterprise instance to forward data. Is it related to licensing or do I need to use a deployment server to assign roles (and can it even be done with trial license)?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 15:02:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-check-server-roles-via-the-rest-api/m-p/322092#M60038</guid>
      <dc:creator>anton085</dc:creator>
      <dc:date>2020-09-29T15:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to check server roles via the rest api?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-check-server-roles-via-the-rest-api/m-p/322093#M60039</link>
      <description>&lt;P&gt;You can tell if it is a UF because that has a particular package that is different than the full enterprise package.  The other roles are determined by how you configure it.  For example, for a non-UF server, if it has a &lt;CODE&gt;serverclass.conf&lt;/CODE&gt; file (which you can check with the REST API), then it is a DS.  If it has an &lt;CODE&gt;outputs.conf&lt;/CODE&gt; file, then it is a HF.  If it has a &lt;CODE&gt;distserach.conf&lt;/CODE&gt; file, then it is a Search Head (which covers MC, LC, DS, so this does not tell anything other than it is not an Indexer or UF).&lt;/P&gt;</description>
      <pubDate>Sun, 23 Jul 2017 01:37:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-check-server-roles-via-the-rest-api/m-p/322093#M60039</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-07-23T01:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to check server roles via the rest api?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-check-server-roles-via-the-rest-api/m-p/610833#M105830</link>
      <description>&lt;P&gt;I know this is an old post but every Splunk enterprise server in a distributed deployment, except indexers, should have outputs.conf to forward its internal logs to the indexer(s). Also, the MC doesn't have a HF role designated, so I assume you aren't referring to MC roles here, just a function that server is performing. Is that right?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Aug 2022 15:22:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-check-server-roles-via-the-rest-api/m-p/610833#M105830</guid>
      <dc:creator>tpickle</dc:creator>
      <dc:date>2022-08-25T15:22:05Z</dc:date>
    </item>
  </channel>
</rss>

