<?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 How do I give read-only access to the deployment server? in Deployment Architecture</title>
    <link>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-give-read-only-access-to-the-deployment-server/m-p/240453#M9023</link>
    <description>&lt;P&gt;We have many group-admins that need to be able to check on their deployment clients, but I don't want to give them write access to the DS. I could give them all access to _internal and parse out phoneHome connections from there, trying my best to duplicate the DS interface. But is there a better way? I tried limiting their capabilities in a new role on the DS, but without admin, the Forwarder Management app isn't accessible.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Jon&lt;/P&gt;</description>
    <pubDate>Fri, 06 May 2016 17:07:50 GMT</pubDate>
    <dc:creator>twinspop</dc:creator>
    <dc:date>2016-05-06T17:07:50Z</dc:date>
    <item>
      <title>How do I give read-only access to the deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-give-read-only-access-to-the-deployment-server/m-p/240453#M9023</link>
      <description>&lt;P&gt;We have many group-admins that need to be able to check on their deployment clients, but I don't want to give them write access to the DS. I could give them all access to _internal and parse out phoneHome connections from there, trying my best to duplicate the DS interface. But is there a better way? I tried limiting their capabilities in a new role on the DS, but without admin, the Forwarder Management app isn't accessible.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Jon&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 17:07:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-give-read-only-access-to-the-deployment-server/m-p/240453#M9023</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2016-05-06T17:07:50Z</dc:date>
    </item>
    <item>
      <title>Re: How do I give read-only access to the deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-give-read-only-access-to-the-deployment-server/m-p/240454#M9024</link>
      <description>&lt;P&gt;Looks like every view of deployment clients requires     List_deployment_server AND edit_deployment_server&lt;/P&gt;

&lt;P&gt;Only way around would be a hack.  You could go here:&lt;/P&gt;

&lt;P&gt;$SPLUNK_HOME\etc\apps\search\default\data\ui\manager\&lt;/P&gt;

&lt;P&gt;and edit deployment.xml, then remove AND edit_deployment_server from the following line&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;read&amp;gt;list_deployment_server AND edit_deployment_server&amp;lt;/read&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;Save and restart ... After that folks with list_deployment_server should be able to see that view, but couldnt make edits.  At least I believe that would work.  It would be an unsupported hack for sure, and would change every time you upgrade/reinstall.&lt;/P&gt;

&lt;P&gt;Another option is to give them read only access to this endpoint somehow, via scripting, etc.&lt;BR /&gt;
localhost:8089/services/deployment//server/clients&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 09:39:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-give-read-only-access-to-the-deployment-server/m-p/240454#M9024</guid>
      <dc:creator>jkat54</dc:creator>
      <dc:date>2020-09-29T09:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: How do I give read-only access to the deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-give-read-only-access-to-the-deployment-server/m-p/240455#M9025</link>
      <description>&lt;P&gt;Thanks for the hackerific solution. That might work for me (assuming it works at all :-). I've been toying with the REST endpoint. With 3000 clients it returns a metric ton of information. Will need to figure out how to present something similar to the DSM page from there. &lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2016 18:14:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-give-read-only-access-to-the-deployment-server/m-p/240455#M9025</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2016-05-06T18:14:24Z</dc:date>
    </item>
    <item>
      <title>Re: How do I give read-only access to the deployment server?</title>
      <link>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-give-read-only-access-to-the-deployment-server/m-p/240456#M9026</link>
      <description>&lt;P&gt;Not pretty, but it's doing what I need: Provide hostname, IP, Last Phone Home time, phone home interval and (bonus) last time data was seen, if you have access to the indexes where data was written. It requires that you run it locally on the DS, or have the DS listed a search peer on the server you are searching on.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest splunk_server=deploymentserver /services/deployment/server/clients | 
fields hostname ip *Phone* | 
eval "Last Phone Home, Minutes Ago"=round((now()-lastPhoneHomeTime)/60,2) | 
fields - lastPhoneHomeTime | 
eval hostname=lower(hostname) |
join type=outer hostname [ | 
   metadata type=hosts index=*| 
   eval "Last Data, Hours Ago"=round((now()-lastTime)/60/60,2) | 
   table host, "Last Data, Hours Ago" | 
   rex field=host "(?&amp;lt;hostname&amp;gt;[^\.]+)" | 
   fields - host | 
   eval hostname=lower(hostname) ] | 
where isnotnull(ip) | 
fillnull value="no data, or index not available"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 May 2016 21:18:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Deployment-Architecture/How-do-I-give-read-only-access-to-the-deployment-server/m-p/240456#M9026</guid>
      <dc:creator>twinspop</dc:creator>
      <dc:date>2016-05-06T21:18:16Z</dc:date>
    </item>
  </channel>
</rss>

