<?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: controlling access  to dashboard and search  capability in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66886#M16695</link>
    <description>&lt;P&gt;Hi, &lt;BR /&gt;
 Thank you so much. Could you please clarify on -  "..capabilities similar to "user" role.."&lt;BR /&gt;&lt;BR /&gt;
Does this mean, create a new role and use Inheritance (from Manager/ACL/Roles) from role "User" (under selected column, in the UI). &lt;BR /&gt;
Or should I create a new role with all the all the capabilities similar to user - meaning the following cap.s&lt;/P&gt;

&lt;P&gt;change_own_password&lt;BR /&gt;
get_metadata&lt;BR /&gt;
get_typeahead&lt;BR /&gt;
input_file&lt;BR /&gt;
list_inputs&lt;BR /&gt;
output_file&lt;BR /&gt;
request_remote_tok&lt;BR /&gt;
rest_apps_view&lt;BR /&gt;
rest_properties_get&lt;BR /&gt;
rest_properties_set&lt;BR /&gt;
schedule_rtsearch&lt;BR /&gt;
search&lt;/P&gt;

&lt;P&gt;Note that there is a capability - search include this..in the new role.?&lt;/P&gt;</description>
    <pubDate>Mon, 28 Sep 2020 14:48:19 GMT</pubDate>
    <dc:creator>splunkears</dc:creator>
    <dc:date>2020-09-28T14:48:19Z</dc:date>
    <item>
      <title>controlling access  to dashboard and search  capability</title>
      <link>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66883#M16692</link>
      <description>&lt;P&gt;I think this is a typical Splunk use case wherein, we want to give access to users who can only VIEW dashboards but should not query or issue search commands.&lt;/P&gt;

&lt;P&gt;I see some documentation on this:&lt;BR /&gt;
&lt;A href="http://docs.splunk.com/Documentation/Splunk/5.0.4/Security/Addmanagementaccesstocustomroles"&gt;http://docs.splunk.com/Documentation/Splunk/5.0.4/Security/Addmanagementaccesstocustomroles&lt;/A&gt;&lt;BR /&gt;
but, following this, it is still  users to fire search queries. &lt;/P&gt;

&lt;P&gt;For example, when a user has a access to a dashboard, and then, access the dashboard page, there is a small link called "view results".   Upon clicking on view results, it is bring search box screen.  How do we just give access to dashboard URLs alone and, no access search UI. &lt;/P&gt;

&lt;P&gt;I tried the other approach of creating a new role with no search capability but, it is not allowing the user to view dashboards.&lt;/P&gt;

&lt;P&gt;thanks..&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2013 15:59:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66883#M16692</guid>
      <dc:creator>splunkears</dc:creator>
      <dc:date>2013-09-18T15:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: controlling access  to dashboard and search  capability</title>
      <link>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66884#M16693</link>
      <description>&lt;P&gt;I've done this by hiding (using CSS) the "View results" link. Admittedly, it's a bit of a kludge, but at least stops the specific pain point.&lt;/P&gt;

&lt;P&gt;You might also consider disallowing general users to the main "searchbar views". These are typically dashboard_live and flashtimeline; they live in the "search" app.&lt;/P&gt;

&lt;P&gt;The CSS I used to hide those results is below. It would go into a file called 'application.css' in the appserver/static subdir of whatever app contains your dashboards.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
/* Don't show the "View results" footer */&lt;BR /&gt;
.ViewRedirectorLink {&lt;BR /&gt;
  display: none !important;&lt;BR /&gt;
}&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2013 17:33:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66884#M16693</guid>
      <dc:creator>sowings</dc:creator>
      <dc:date>2013-09-18T17:33:51Z</dc:date>
    </item>
    <item>
      <title>Re: controlling access  to dashboard and search  capability</title>
      <link>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66885#M16694</link>
      <description>&lt;P&gt;I have tried following and its working fine for me.&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Create a Role, say dashboardUser. Set the default app and capabilities similar to "user" role. Assign this role to all the users which should just access dashboards and should not perform explicit search/query&lt;/LI&gt;
&lt;LI&gt;go to "User Interface&amp;gt;&amp;gt;Views"&lt;/LI&gt;
&lt;LI&gt;Uncheck "Show only objects created in this app context". this should show you all the views with Global permission. Specifically flashtimeline and dashboard_live view.&lt;/LI&gt;
&lt;LI&gt;change the permission for Read from "Everyone" to all the necessary roles excluding dashboard user.&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;THis should restrict the access to flashtimeline (screen to which generally people search). Repeat the same for all the views which provide direct search.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2013 18:39:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66885#M16694</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-09-18T18:39:09Z</dc:date>
    </item>
    <item>
      <title>Re: controlling access  to dashboard and search  capability</title>
      <link>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66886#M16695</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
 Thank you so much. Could you please clarify on -  "..capabilities similar to "user" role.."&lt;BR /&gt;&lt;BR /&gt;
Does this mean, create a new role and use Inheritance (from Manager/ACL/Roles) from role "User" (under selected column, in the UI). &lt;BR /&gt;
Or should I create a new role with all the all the capabilities similar to user - meaning the following cap.s&lt;/P&gt;

&lt;P&gt;change_own_password&lt;BR /&gt;
get_metadata&lt;BR /&gt;
get_typeahead&lt;BR /&gt;
input_file&lt;BR /&gt;
list_inputs&lt;BR /&gt;
output_file&lt;BR /&gt;
request_remote_tok&lt;BR /&gt;
rest_apps_view&lt;BR /&gt;
rest_properties_get&lt;BR /&gt;
rest_properties_set&lt;BR /&gt;
schedule_rtsearch&lt;BR /&gt;
search&lt;/P&gt;

&lt;P&gt;Note that there is a capability - search include this..in the new role.?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:48:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66886#M16695</guid>
      <dc:creator>splunkears</dc:creator>
      <dc:date>2020-09-28T14:48:19Z</dc:date>
    </item>
    <item>
      <title>Re: controlling access  to dashboard and search  capability</title>
      <link>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66887#M16696</link>
      <description>&lt;P&gt;YOu should create a new role with all capabilities similar to user. &lt;BR /&gt;
The capability search is required otherwise the dashboards searches also will not work.&lt;/P&gt;</description>
      <pubDate>Wed, 18 Sep 2013 19:07:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66887#M16696</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2013-09-18T19:07:36Z</dc:date>
    </item>
    <item>
      <title>Re: controlling access  to dashboard and search  capability</title>
      <link>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66888#M16697</link>
      <description>&lt;P&gt;I tried exactly the same steps as you mentioned.  My test userID gets 404 - with a message - " Splunk Cannot find the ...name_of_my_dash.. view  - message - while accessing dashboard URL. &lt;/P&gt;

&lt;P&gt;It seems like Search and Dashboard capabilities are tightly coupled.  Either both are on or both are off &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:48:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66888#M16697</guid>
      <dc:creator>splunkears</dc:creator>
      <dc:date>2020-09-28T14:48:28Z</dc:date>
    </item>
    <item>
      <title>Re: controlling access  to dashboard and search  capability</title>
      <link>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66889#M16698</link>
      <description>&lt;P&gt;As part of step , did you change the permission for "name_of_my_dashboard" as well to exclude dashboarduser?? we should exclude only for flashtimeline and dashboard_live. ALso for any view that you have created which provides search bar. Your normal dashboards (which contains links 'View Result') should be made accessible.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 14:48:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66889#M16698</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2020-09-28T14:48:54Z</dc:date>
    </item>
    <item>
      <title>Re: controlling access  to dashboard and search  capability</title>
      <link>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66890#M16699</link>
      <description>&lt;P&gt;Thanks for the hint. My dashboard was with default permission for role user. I've added the new role too, in the permission list, for this dash.  And hence, it works now &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
The test user is able to access dashboard. And he is not able to access search / flashtimeline as expected.&lt;/P&gt;</description>
      <pubDate>Thu, 19 Sep 2013 19:32:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66890#M16699</guid>
      <dc:creator>splunkears</dc:creator>
      <dc:date>2013-09-19T19:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: controlling access  to dashboard and search  capability</title>
      <link>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66891#M16700</link>
      <description>&lt;P&gt;The problem is that Splunk creates a default navigation menu for your new app.  This default navigation menu is stored as the dashboards view inside the search app.  The problem is that if you deny access to this app, then trying to view this dashboard will 404. &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;
&amp;lt;nav search_view="search" color="#65A637"&amp;gt;
  &amp;lt;view name="dashboards" /&amp;gt;
&amp;lt;/nav&amp;gt;
&lt;/CODE&gt;
You need to do two things:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;Delete the search_view= parameter.&lt;/LI&gt;
&lt;LI&gt;Create the views that reference dashboards inside your dashboard_role only.  Since you are restricting access to this view, you can no longer render what views are available dynamically.    &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;For more info about customizing the navigation menu, see &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.0/AdvancedDev/BuildNavigation" target="test_blank"&gt;http://docs.splunk.com/Documentation/Splunk/6.0/AdvancedDev/BuildNavigation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2013 16:37:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66891#M16700</guid>
      <dc:creator>rogerhu</dc:creator>
      <dc:date>2013-12-24T16:37:11Z</dc:date>
    </item>
    <item>
      <title>Re: controlling access  to dashboard and search  capability</title>
      <link>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66892#M16701</link>
      <description>&lt;P&gt;One other thing I noticed is that Splunk v6.0 does not appear to honor global permissions for your custom commands and macros if you restricting access to the search app.  For instance, the gauge command is considered an advanced command and restricting access to the search app prevents the gauge command from being used.&lt;/P&gt;

&lt;P&gt;The same problem happen for macros created in the search app.  Without access to the search app, the global permissions seem to get ignored.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Dec 2013 16:56:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66892#M16701</guid>
      <dc:creator>rogerhu</dc:creator>
      <dc:date>2013-12-24T16:56:05Z</dc:date>
    </item>
    <item>
      <title>Re: controlling access  to dashboard and search  capability</title>
      <link>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66893#M16702</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;You need to do two things:
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;1.Delete the search_view= parameter.&lt;BR /&gt;
2.Create the views that reference dashboards inside your dashboard_role only. Since you are restricting access to this view, you can no longer render what views are available dynamically   ??? kindly explain this two stpes&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 18:46:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/controlling-access-to-dashboard-and-search-capability/m-p/66893#M16702</guid>
      <dc:creator>splunk47</dc:creator>
      <dc:date>2020-09-28T18:46:07Z</dc:date>
    </item>
  </channel>
</rss>

