<?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 to filter access to data inside same index to different roles? Summary Index? Search Filter? Other options? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-access-to-data-inside-same-index-to-different/m-p/620567#M106927</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I am in the need to find a way to filter data that specific roles access inside an index.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Index=servers&lt;/LI&gt;
&lt;LI&gt;The index has servers from windows, linux, and ostype3&lt;/LI&gt;
&lt;LI&gt;We want to have the following:
&lt;UL&gt;
&lt;LI&gt;roleA has access to index=servers (but just sees windows servers)&lt;/LI&gt;
&lt;LI&gt;roleB has access to index=servers (but just see linux servers)&lt;/LI&gt;
&lt;LI&gt;roleC has access to index=servers (but just see ostype3 servers)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This can be achieved by using &lt;U&gt;search filters&lt;/U&gt; and it worked ok.&lt;BR /&gt;&lt;U&gt;However...&lt;/U&gt;&lt;BR /&gt;If then, I have a role that can:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;RoleD has access to index=servers (but just see windows servers)&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;RoleD has access to index=firewalls&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This then will not work for roleD. RoleD will not be able to search for the index=firewalls, as the search filters takes precedence and limits the user just to see the data in:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;RoleD has access to index=servers (but just see windows servers)&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I'm trying to find a new solution that can allow me to do what I need to, and summary index came to the idea.&lt;BR /&gt;&lt;BR /&gt;However I'm struggling with something.&lt;/P&gt;
&lt;P&gt;When my data is sent to the summary index, it's sourcetype is changed to stash. And then my data is not parsed as is in the original index.&lt;/P&gt;
&lt;P&gt;Lets suppose I change the sourcetype from stash to original sourcetype, that then will make me use a lot more license and double it up.&lt;/P&gt;
&lt;P&gt;So, that's why I'm asking here for help. What solutions do I have? Am I missing something or doing something wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance if someone can help me on this. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 11 Nov 2022 14:25:39 GMT</pubDate>
    <dc:creator>dmbuhler</dc:creator>
    <dc:date>2022-11-11T14:25:39Z</dc:date>
    <item>
      <title>How to filter access to data inside same index to different roles? Summary Index? Search Filter? Other options?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-access-to-data-inside-same-index-to-different/m-p/620567#M106927</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I am in the need to find a way to filter data that specific roles access inside an index.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Index=servers&lt;/LI&gt;
&lt;LI&gt;The index has servers from windows, linux, and ostype3&lt;/LI&gt;
&lt;LI&gt;We want to have the following:
&lt;UL&gt;
&lt;LI&gt;roleA has access to index=servers (but just sees windows servers)&lt;/LI&gt;
&lt;LI&gt;roleB has access to index=servers (but just see linux servers)&lt;/LI&gt;
&lt;LI&gt;roleC has access to index=servers (but just see ostype3 servers)&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This can be achieved by using &lt;U&gt;search filters&lt;/U&gt; and it worked ok.&lt;BR /&gt;&lt;U&gt;However...&lt;/U&gt;&lt;BR /&gt;If then, I have a role that can:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;RoleD has access to index=servers (but just see windows servers)&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;RoleD has access to index=firewalls&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;This then will not work for roleD. RoleD will not be able to search for the index=firewalls, as the search filters takes precedence and limits the user just to see the data in:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;RoleD has access to index=servers (but just see windows servers)&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So, I'm trying to find a new solution that can allow me to do what I need to, and summary index came to the idea.&lt;BR /&gt;&lt;BR /&gt;However I'm struggling with something.&lt;/P&gt;
&lt;P&gt;When my data is sent to the summary index, it's sourcetype is changed to stash. And then my data is not parsed as is in the original index.&lt;/P&gt;
&lt;P&gt;Lets suppose I change the sourcetype from stash to original sourcetype, that then will make me use a lot more license and double it up.&lt;/P&gt;
&lt;P&gt;So, that's why I'm asking here for help. What solutions do I have? Am I missing something or doing something wrong?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance if someone can help me on this. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 14:25:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-access-to-data-inside-same-index-to-different/m-p/620567#M106927</guid>
      <dc:creator>dmbuhler</dc:creator>
      <dc:date>2022-11-11T14:25:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter access to data inside same index to different roles? Summary Index? Search Filter? Other options?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-access-to-data-inside-same-index-to-different/m-p/620605#M106929</link>
      <description>&lt;P&gt;You've discovered why I don't recommend search filters.&lt;/P&gt;&lt;P&gt;A summary index might work.&amp;nbsp; You can get around the parsing problem by assigning a sourcetype other than 'stash' to the summary events.&amp;nbsp; That will count against your ingest license, however.&lt;/P&gt;&lt;P&gt;The better solution is to have separate indexes for each role's data.&amp;nbsp; Access is one of the criteria for creating a new index for data (retention and size management are the others).&amp;nbsp; If you don't want to or can't change the inputs, then consider using Ingest Actions to filter the server data to the proper index.&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 14:29:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-access-to-data-inside-same-index-to-different/m-p/620605#M106929</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-11-11T14:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter access to data inside same index to different roles? Summary Index? Search Filter? Other options?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-access-to-data-inside-same-index-to-different/m-p/620620#M106932</link>
      <description>&lt;P&gt;Ha!&lt;BR /&gt;So basically I have no solution.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Search Filters - Not a solution, because one role affects the others.&lt;/LI&gt;&lt;LI&gt;Summary Index - No solution because I will need to change the sourcetye which will consume me more license&lt;/LI&gt;&lt;LI&gt;Change my indexing - to send the data to different indexes (might work) but only for new data, and will also escalate even more the number of indexes that we manage.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Option 3, might only be the new option, but I don't know if that makes much sense.&lt;/P&gt;&lt;P&gt;But thank you&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 15:37:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-access-to-data-inside-same-index-to-different/m-p/620620#M106932</guid>
      <dc:creator>dmbuhler</dc:creator>
      <dc:date>2022-11-11T15:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to filter access to data inside same index to different roles? Summary Index? Search Filter? Other options?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-access-to-data-inside-same-index-to-different/m-p/620628#M106934</link>
      <description>&lt;P&gt;Yes, the options aren't great.&amp;nbsp; I strongly urge you to consider option #3, however.&amp;nbsp; You're correct about it applying only to new data, but you can use the &lt;FONT face="courier new,courier"&gt;collect&lt;/FONT&gt; command to copy events to the new indexes (consuming license, of course).&lt;/P&gt;</description>
      <pubDate>Fri, 11 Nov 2022 17:03:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-filter-access-to-data-inside-same-index-to-different/m-p/620628#M106934</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-11-11T17:03:53Z</dc:date>
    </item>
  </channel>
</rss>

