<?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 restrict search access to certain hosts or fields on a per-user basis? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-search-access-to-certain-hosts-or-fields-on-a/m-p/192292#M55287</link>
    <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;"I might want our Help Desk to not be able to access the logs for a certain server"&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;This is easy, if you segment your data per index and use the roles to control the access.&lt;BR /&gt;
This is also an unbreakable method.&lt;BR /&gt;
example in the inputs specify the index, and use 2 versions of each index one public, one private, and use a wildcard in your searches.&lt;/P&gt;

&lt;P&gt;Example : with the indexes database-public and database-secure&lt;BR /&gt;
use a search like index=database-*&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;"I may want to give them access to data for a given server but not be able to view a particular field"&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;This is the hard part, the only solution that splunk propose is a the role search limits, by adding a mandatory search condition. &lt;/P&gt;

&lt;P&gt;By example :&lt;BR /&gt;
for the RoleA, always add "AND host!=securehost" to the main search conditions.&lt;/P&gt;</description>
    <pubDate>Wed, 14 Jan 2015 07:09:29 GMT</pubDate>
    <dc:creator>yannK</dc:creator>
    <dc:date>2015-01-14T07:09:29Z</dc:date>
    <item>
      <title>How to restrict search access to certain hosts or fields on a per-user basis?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-search-access-to-certain-hosts-or-fields-on-a/m-p/192290#M55285</link>
      <description>&lt;P&gt;Hello. I'm new to Splunk. This may become obvious with my next question: I would like to restrict access to certain hosts or fields on a per-user basis. IE. I might want our Help Desk to not be able to access the logs for a certain server, or I may want to give them access to data for a given server but not be able to view a particular field. What methods have people used for this? Thanks.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 20:43:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-search-access-to-certain-hosts-or-fields-on-a/m-p/192290#M55285</guid>
      <dc:creator>jhillenburg</dc:creator>
      <dc:date>2015-01-12T20:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict search access to certain hosts or fields on a per-user basis?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-search-access-to-certain-hosts-or-fields-on-a/m-p/192291#M55286</link>
      <description>&lt;P&gt;Here are three useful links that will give you a good idea:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Admin/Aboutusersandroles"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Admin/Aboutusersandroles&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Security/Rolesandcapabilities"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Security/Rolesandcapabilities&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/Security/Addandeditroles"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/Security/Addandeditroles&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Further more, you can create apps in Splunk to separate/create contexts for particular use cases (more advanced):&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.1/AdvancedDev/DefaultApp"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.1/AdvancedDev/DefaultApp&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2015 22:35:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-search-access-to-certain-hosts-or-fields-on-a/m-p/192291#M55286</guid>
      <dc:creator>aljohnson_splun</dc:creator>
      <dc:date>2015-01-12T22:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict search access to certain hosts or fields on a per-user basis?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-search-access-to-certain-hosts-or-fields-on-a/m-p/192292#M55287</link>
      <description>&lt;BLOCKQUOTE&gt;
&lt;P&gt;"I might want our Help Desk to not be able to access the logs for a certain server"&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;This is easy, if you segment your data per index and use the roles to control the access.&lt;BR /&gt;
This is also an unbreakable method.&lt;BR /&gt;
example in the inputs specify the index, and use 2 versions of each index one public, one private, and use a wildcard in your searches.&lt;/P&gt;

&lt;P&gt;Example : with the indexes database-public and database-secure&lt;BR /&gt;
use a search like index=database-*&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
&lt;P&gt;"I may want to give them access to data for a given server but not be able to view a particular field"&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;This is the hard part, the only solution that splunk propose is a the role search limits, by adding a mandatory search condition. &lt;/P&gt;

&lt;P&gt;By example :&lt;BR /&gt;
for the RoleA, always add "AND host!=securehost" to the main search conditions.&lt;/P&gt;</description>
      <pubDate>Wed, 14 Jan 2015 07:09:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-search-access-to-certain-hosts-or-fields-on-a/m-p/192292#M55287</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2015-01-14T07:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict search access to certain hosts or fields on a per-user basis?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-search-access-to-certain-hosts-or-fields-on-a/m-p/192293#M55288</link>
      <description>&lt;P&gt;Hi @jhillenburg&lt;/P&gt;

&lt;P&gt;Just following up, but did @aljohnson_splunk or @yannK's answers help solve your question? If yes, be sure to accept the appropriate answer by clicking on "Accept" below the response. If you're still having issues, it'd be great if you could comment on the answers below to to find the answers and resolve this post. Thanks!&lt;/P&gt;

&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jan 2015 05:30:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-search-access-to-certain-hosts-or-fields-on-a/m-p/192293#M55288</guid>
      <dc:creator>ppablo</dc:creator>
      <dc:date>2015-01-20T05:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to restrict search access to certain hosts or fields on a per-user basis?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-search-access-to-certain-hosts-or-fields-on-a/m-p/192294#M55289</link>
      <description>&lt;P&gt;Is it possible:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;use a report and give access to the role/user you want to restrict access.&lt;/LI&gt;
&lt;LI&gt;have this report run using the owner (who has access to the event/fields).&lt;/LI&gt;
&lt;LI&gt;the report returns a table with only the fields that should be accessible to the user/role.&lt;/LI&gt;
&lt;LI&gt;remove access to the event/index for the user/role&lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;In a way, this is using reports (or a data model) to give access to something, even though the underlying events/index is not accessible by the user/role.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Dec 2017 07:02:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-restrict-search-access-to-certain-hosts-or-fields-on-a/m-p/192294#M55289</guid>
      <dc:creator>tedwroks</dc:creator>
      <dc:date>2017-12-02T07:02:12Z</dc:date>
    </item>
  </channel>
</rss>

