<?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 force my user to specify an index in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-force-my-user-to-specify-an-index/m-p/531770#M150202</link>
    <description>&lt;P&gt;I recommend removing the default indexes from their roles.&amp;nbsp; Once searches stop working they'll learn to use index=.&lt;/P&gt;</description>
    <pubDate>Wed, 02 Dec 2020 21:25:09 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2020-12-02T21:25:09Z</dc:date>
    <item>
      <title>How to force my user to specify an index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-force-my-user-to-specify-an-index/m-p/531761#M150196</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;So I've been facing some challenges with some of my users and I don't really know exactly how to tackle this.&lt;BR /&gt;&lt;BR /&gt;Despite common sense and explaining them on a "welcoming page" on their app how to search with index="theirIndex" sourcetype="blabla" ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They keep on not using index="", because you know, it works... they are searching all the indexes they've got access to with their roles and it's quite annoying when they should really specify an index there.&lt;/P&gt;&lt;P&gt;Do you have any advice on how to introduce that? I read about some filter that could be applied in the past with srchFilter or even thought of removing the Default indexes from their roles but not really sure which work best.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you all, sorry if it's an easy question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Ps: yes, my users are quite stubborn sometimes, I already won the "all time" challenge&amp;nbsp; &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 20:15:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-force-my-user-to-specify-an-index/m-p/531761#M150196</guid>
      <dc:creator>llacoste</dc:creator>
      <dc:date>2020-12-02T20:15:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to force my user to specify an index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-force-my-user-to-specify-an-index/m-p/531770#M150202</link>
      <description>&lt;P&gt;I recommend removing the default indexes from their roles.&amp;nbsp; Once searches stop working they'll learn to use index=.&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 21:25:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-force-my-user-to-specify-an-index/m-p/531770#M150202</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-12-02T21:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to force my user to specify an index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-force-my-user-to-specify-an-index/m-p/531771#M150203</link>
      <description>&lt;P&gt;Thought I would do that but I don't really know if that's the best "splunky" way of dealing with it as there is always 10 ways of doing things with Splunk ahah.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'll try it thank you. I'm sure they'll love it &lt;span class="lia-unicode-emoji" title=":grinning_face_with_smiling_eyes:"&gt;😄&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 21:32:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-force-my-user-to-specify-an-index/m-p/531771#M150203</guid>
      <dc:creator>llacoste</dc:creator>
      <dc:date>2020-12-02T21:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: How to force my user to specify an index</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-force-my-user-to-specify-an-index/m-p/531861#M150239</link>
      <description>&lt;P&gt;That is the best way, IMO.&amp;nbsp; Search filters may be able to accomplish the goal, but they tend to be easy to work around and a challenge to manage.&lt;/P&gt;&lt;P&gt;Workload Management's "Admission Rules" feature has the potential for doing this very well, but lacks the ability to test for the absence of something.&amp;nbsp; You can block "index=*", for example, but can't determine if an index was not specified.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 13:43:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-force-my-user-to-specify-an-index/m-p/531861#M150239</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-12-03T13:43:34Z</dc:date>
    </item>
  </channel>
</rss>

