<?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: srchFilter usage in backend with multiple roles in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750523#M242363</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;ok and how this will be applicable in my case? If I restrict them based on service for summary index, even if he give |stats count by service he cannot see other's services data right? What else can he do here?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 27 Jul 2025 03:33:01 GMT</pubDate>
    <dc:creator>Karthikeya</dc:creator>
    <dc:date>2025-07-27T03:33:01Z</dc:date>
    <item>
      <title>srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750473#M242345</link>
      <description>&lt;P&gt;We will create two indexes per application one for non_prod and one for prod logs in same splunk. They create 2 AD groups (np and prod). We will create indexes, roles and assign that to respective AD groups. Till here it is good.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now we created a single summary index for all prod indexes data and we need to give access to that index to all app teams. Being single summary index, thought of filtering it at role level using srchFilter and service field, so that to restrict one user seeing other apps summary data&lt;/P&gt;&lt;P&gt;Below is the role created for non-prod&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[role_abc]
srchIndexesAllowed = non_prod
srchIndexesDefault = non_prod&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;Below is the role created for prod&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;[role_xyz]
srchIndexesAllowed = prod;opco_summary
srchIndexesDefault = prod
srchFilter = (index::prod OR (index::opco_summary service::juniper-prod))&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;Not sure whether to use = or :: here to work? Because in UI when I m testing it is giving warning when I give = .. but when giving :: search preview results not working. Not sure what to give?&lt;/P&gt;&lt;P&gt;Here my doubt is when the user with these two roles if they can search only index=non_prod if he see results or not? How this search works in backend? Is there any way to test? And few users are part of 6-8 AD groups (6-8 indexes). How this srchFilter work here? Please clarify&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 18:42:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750473#M242345</guid>
      <dc:creator>Karthikeya</dc:creator>
      <dc:date>2025-07-25T18:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750476#M242346</link>
      <description>&lt;P&gt;The :: notation is for indexed fields. If a field is defined as indexed field, the k=v part in the search will get translated to a condition using k::v form in the underlying index search phase.&lt;/P&gt;&lt;P&gt;While index is not an indexed field as such both forms should work with it as well.&lt;/P&gt;&lt;P&gt;To get a bit more technical - indexed fields are written as single key::value tokens in the lexicon so you can look for them by those tokens.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 20:25:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750476#M242346</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-07-25T20:25:47Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750477#M242347</link>
      <description>&lt;P&gt;Avoid search filters.&amp;nbsp; While they can be useful at times, more often they complicate matters.&amp;nbsp; For instance, in your case the members of 6-8 AD groups (therefore, presumably, in 6-8 Splunk roles) will have 6-8 search filters combined with implicit AND operators to create a search that finds nothing.&lt;/P&gt;&lt;P&gt;The only reliable way to control access to data is to put that data in an index with the proper RBAC settings.&amp;nbsp; Rather than have a single summary index, it would be better to create a separate summary index for each group of users with unique access requirements.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Jul 2025 20:43:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750477#M242347</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2025-07-25T20:43:08Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750493#M242350</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;I have read somewhere that it will be implicit OR. May be in documentation can't remember.&lt;/P&gt;&lt;P&gt;But is it good practice to have summary data into original index? What are the consequences I face in long term? Sourcetype is stash I see for summary data. Not able to change this.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jul 2025 06:01:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750493#M242350</guid>
      <dc:creator>Karthikeya</dc:creator>
      <dc:date>2025-07-26T06:01:38Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750495#M242351</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/273888"&gt;@Karthikeya&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding "service::juniper-prod" - This will only work if service is an indexed field as :: is used to reference an indexed field.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;makes some good points - srchFilters can get very complicated very quickly - Ive seen this implemented for production environments before and ended in lots of stress. All it takes is someone to get an additional role with a more permissive srchFilter and it all breaks down.&lt;/P&gt;&lt;P&gt;In terms of your question about OR/AND, check out this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;srchFilterSelecting = &amp;lt;boolean&amp;gt;
* Determines whether a role's search filters are used for selecting or
eliminating during role inheritance.
* If "true", the search filters are used for selecting. The filters are joined
with an OR clause when combined.
* If "false", the search filters are used for eliminating. The filters are joined
with an AND clause when combined.
* Example:
* role1 srchFilter = sourcetype!=ex1 with selecting=true
* role2 srchFilter = sourcetype=ex2 with selecting = false
* role3 srchFilter = sourcetype!=ex3 AND index=main with selecting = true
* role3 inherits from role2 and role 2 inherits from role1
* Resulting srchFilter = ((sourcetype!=ex1) OR
(sourcetype!=ex3 AND index=main)) AND ((sourcetype=ex2))
* Default: true&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jul 2025 06:17:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750495#M242351</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-07-26T06:17:36Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750498#M242353</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;I checked in chatgpt and explored authorise.conf and thought of using below. Please check and verify and let me know will it works --&lt;/P&gt;&lt;P&gt;Below is the role created for non-prod.&lt;/P&gt;&lt;P&gt;[role_abc]&lt;/P&gt;&lt;P&gt;srchIndexesAllowed = non_prod&lt;/P&gt;&lt;P&gt;srchIndexesDefault = non_prod&lt;/P&gt;&lt;P&gt;SrchFilter = index = non_prod&lt;/P&gt;&lt;P&gt;Below is the role created for prod&amp;nbsp;&lt;/P&gt;&lt;P&gt;[role_xyz]&lt;/P&gt;&lt;P&gt;srchIndexesAllowed = prod;opco_summary&lt;/P&gt;&lt;P&gt;srchIndexesDefault = prod&lt;/P&gt;&lt;P&gt;srchFilter = (index=prod) OR (index=opco_summary AND service=juniper-prod)&lt;/P&gt;&lt;P&gt;Still confused on = and :: index and service both are not indexes fields hence used =.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jul 2025 08:27:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750498#M242353</guid>
      <dc:creator>Karthikeya</dc:creator>
      <dc:date>2025-07-26T08:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750502#M242357</link>
      <description>&lt;P&gt;For a search-time field you cannot use the :: syntax.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jul 2025 09:29:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750502#M242357</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-07-26T09:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750503#M242358</link>
      <description>&lt;P&gt;Ok hence I given = for service and index. Hope it will work. Stanzas I have given will it work as expected or srchFilter has any behaviour that can't be defined?&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jul 2025 09:33:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750503#M242358</guid>
      <dc:creator>Karthikeya</dc:creator>
      <dc:date>2025-07-26T09:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750517#M242361</link>
      <description>&lt;P&gt;Using search-time fields in search filters for limiting user access can be easily bypassed.&lt;/P&gt;&lt;P&gt;Search filter(s) for role(s) generate(s) additional condition or set of conditions which is/are added to the original search. So - for example - your user searches for&lt;/P&gt;&lt;PRE&gt;index=windows&lt;/PRE&gt;&lt;P&gt;and his role has search filter for&lt;/P&gt;&lt;PRE&gt;EventID=4648&lt;/PRE&gt;&lt;P&gt;the effective search spawned is&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;index=windows EventID=4648&lt;/PRE&gt;&lt;P&gt;And all seems fine and dandy - a user searches only for the given EventID. But a user can just create a calculated field assigning a static value of 4648 to all events. And all events will match the search filter and all events (even those not originally having EventID=4648) will be returned.&lt;/P&gt;&lt;P&gt;So search filters should not (at least not when used with search-time fields) be used as access control.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Jul 2025 19:17:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750517#M242361</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-07-26T19:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750523#M242363</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;ok and how this will be applicable in my case? If I restrict them based on service for summary index, even if he give |stats count by service he cannot see other's services data right? What else can he do here?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jul 2025 03:33:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750523#M242363</guid>
      <dc:creator>Karthikeya</dc:creator>
      <dc:date>2025-07-27T03:33:01Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750524#M242364</link>
      <description>&lt;P&gt;&lt;SPAN&gt;cat props.conf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[opco_sony]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TIME_PREFIX = ^&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;MAX_TIMESTAMP_LOOKAHEAD = 25&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TIME_FORMAT = %b %d %H:%M:%S&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SEDCMD-newline_remove = s/\\r\\n/\n/g&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LINE_BREAKER = ([\r\n]+)[A-Z][a-z]{2}\s+\d{1,2}\s\d{2}:\d{2}:\d{2}\s&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SHOULD_LINEMERGE = False&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TRUNCATE = 10000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# Leaving PUNCT enabled can impact indexing performance. Customers can&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# comment this line if they need to use PUNCT (e.g. security use cases)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ANNOTATE_PUNCT = false&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TRANSFORMS-0_fix_hostname = syslog-host&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TRANSFORMS-1_extract_fqdn = f5_waf-extract_service&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;TRANSFORMS-2_fix_index = f5_waf-route_to_index&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cat transforms.conf&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# FIELD EXTRACTION USING A REGEX&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[f5_waf-extract_service]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;SOURCE_KEY = _raw&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;REGEX = Host:\s(.+)\n&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FORMAT = service::$1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;WRITE_META = true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;# Routes the data to a different index-- This must be listed in a TRANSFORMS-&amp;lt;name&amp;gt; entry.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[f5_waf-route_to_index]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;INGEST_EVAL = indexname=json_extract(lookup("service_indexname_mapping.csv", json_object("service", service), json_array("indexname")), "indexname"), index=if(isnotnull(indexname), if(isnotnull(index) and match(index, "_cont$"),&amp;nbsp; index, indexname), index), service:=null(), indexname:=null()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;cat service_indexname_mapping.csv&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;service,indexname&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;juniper-prod,opco_juniper_prod&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;juniper-non-prod,opco_juniper_non_prod&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This is the backend query to route logs from global index to seperate indexes through service name. How to make this service field as indexed field?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jul 2025 04:14:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750524#M242364</guid>
      <dc:creator>Karthikeya</dc:creator>
      <dc:date>2025-07-27T04:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750526#M242365</link>
      <description>&lt;P&gt;In your case the user can define his own field which will always have the value matching that of search filter.&lt;/P&gt;&lt;P&gt;The simplest way to do so would be to create a calculated field&lt;/P&gt;&lt;PRE&gt;service="your service"&lt;/PRE&gt;&lt;P&gt;And if you rely in your search filter on service="your service" condition - well, that condition will be met for all events effectively rendering this part of the filter useless.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jul 2025 06:18:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750526#M242365</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-07-27T06:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750527#M242366</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;then if I do service as a indexed field.. will it solve my problem or is there any chance that this can be violated at some point?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jul 2025 06:34:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750527#M242366</guid>
      <dc:creator>Karthikeya</dc:creator>
      <dc:date>2025-07-27T06:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750531#M242367</link>
      <description>&lt;P&gt;Wait a second. You're doing summary indexing. That means you're saving your summary data as stash sourcetype. It has nothing to do with the original sourcetype - even if your original sourcetype had service as indexed field, in the summary events it will be a normal search-time extracted field.&lt;/P&gt;&lt;P&gt;And generally you shouldn't fiddle with the default internal Splunk sourcetypes.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jul 2025 12:04:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750531#M242367</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-07-27T12:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750532#M242368</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;sir what can I do now? I am breaking my head. Is there no option left other than creating seperate summary index per app? If yes, can I ingest the respective summary index to same app index (appA index -- opco_appA summary index also opco_appA?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jul 2025 12:20:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750532#M242368</guid>
      <dc:creator>Karthikeya</dc:creator>
      <dc:date>2025-07-27T12:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750533#M242369</link>
      <description>&lt;P&gt;It's not that you&amp;nbsp;&lt;EM&gt;can't&lt;/EM&gt; do this or that. It's just that using search filter is not a sure method of limiting access. Noone forbids you from doing that though. Just be aware that users can bypass your "restrictions".&lt;/P&gt;&lt;P&gt;Also you technically can edit the built-in stash sourcetype it's just very very very not recommended to do so.&lt;/P&gt;&lt;P&gt;As I said before - you can index the summary back into the original index but it might not be the best idea due to - as I assume - greatly different amount of summary data vs. original data.&lt;/P&gt;&lt;P&gt;So the best practice is to have a separate summary index for each group you have to grant access rights separately. There are other options which are... technically possible but noone will advise them because they have their downsides and might not work properly (at least not in all cases).&lt;/P&gt;&lt;P&gt;Asking again and again doesn't change the fact that the proper way to go is to have separate indexes. If for some reasons you can't do that, you're left with the already described alternatives of which each has its cons.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Jul 2025 12:28:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750533#M242369</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-07-27T12:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750653#M242391</link>
      <description>&lt;P&gt;You can give in this way and test and it will some how work. but this is not secure you know.&lt;/P&gt;&lt;P&gt;Below is the role created for non-prod&lt;/P&gt;&lt;P&gt;[role_abc]&lt;/P&gt;&lt;P&gt;srchIndexesAllowed = non_prod&lt;/P&gt;&lt;P&gt;srchIndexesDefault = non_prod&lt;/P&gt;&lt;P&gt;srchFilter = (index=non_prod)&lt;/P&gt;&lt;P&gt;Below is the role created for prod&lt;/P&gt;&lt;P&gt;[role_xyz]&lt;/P&gt;&lt;P&gt;srchIndexesAllowed = prod;opco_summary&lt;/P&gt;&lt;P&gt;srchIndexesDefault = prod&lt;/P&gt;&lt;P&gt;srchFilter = (index=prod) OR (index=opco_summary AND (service=juniper-prod OR service=juniper-cont ))&lt;/P&gt;&lt;P&gt;I think this can help you.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 16:12:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750653#M242391</guid>
      <dc:creator>splunklearner</dc:creator>
      <dc:date>2025-07-29T16:12:54Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750663#M242395</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;will this work for me? What &lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/273723"&gt;@splunklearner&lt;/a&gt;&amp;nbsp;given...&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 17:12:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750663#M242395</guid>
      <dc:creator>Karthikeya</dc:creator>
      <dc:date>2025-07-29T17:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750666#M242396</link>
      <description>&lt;P&gt;As I said before - you _can_ use search-time fields but your users can bypass it if they know about it and know how.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 17:26:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750666#M242396</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2025-07-29T17:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: srchFilter usage in backend with multiple roles</title>
      <link>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750671#M242399</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;&amp;nbsp;ok got it. So the secure one will be creating seperate index for application wise. But we have nearly 500 indexes to come in overall scope and as of now we have created 100+ indexes which means 50 apps (non-prod and prod 2 indexes per app).. if I create summary indexes for these it would be more indexes again. Ideally how many indexes should be there in an environment? However we are using volumes and smartstore as well. Is it very difficult to manage these indexes in future?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jul 2025 18:20:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/srchFilter-usage-in-backend-with-multiple-roles/m-p/750671#M242399</guid>
      <dc:creator>Karthikeya</dc:creator>
      <dc:date>2025-07-29T18:20:46Z</dc:date>
    </item>
  </channel>
</rss>

