<?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 Can someone tell me how to count users by index please in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Can-someone-tell-me-how-to-count-users-by-index-please/m-p/126983#M34412</link>
    <description>&lt;P&gt;I was trying to keep track of how many users have access to each index. Any help would be much appreciated. &lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2014 20:23:55 GMT</pubDate>
    <dc:creator>Rlemana</dc:creator>
    <dc:date>2014-01-27T20:23:55Z</dc:date>
    <item>
      <title>Can someone tell me how to count users by index please</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-someone-tell-me-how-to-count-users-by-index-please/m-p/126983#M34412</link>
      <description>&lt;P&gt;I was trying to keep track of how many users have access to each index. Any help would be much appreciated. &lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 20:23:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-someone-tell-me-how-to-count-users-by-index-please/m-p/126983#M34412</guid>
      <dc:creator>Rlemana</dc:creator>
      <dc:date>2014-01-27T20:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can someone tell me how to count users by index please</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Can-someone-tell-me-how-to-count-users-by-index-please/m-p/126984#M34413</link>
      <description>&lt;P&gt;This should do the trick:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| rest /services/authentication/users | table title roles | mvexpand roles | join max=0 type=left roles [rest /services/authorization/roles | table title srchIndexesAllowed | rename title as roles | mvexpand srchIndexesAllowed] | stats dc(title) by srchIndexesAllowed
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You'll see values for srchIndexesAllowed of "*" and "_*", those mean "all non-internal indexes" and "all internal indexes" respectively.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 21:51:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Can-someone-tell-me-how-to-count-users-by-index-please/m-p/126984#M34413</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-01-27T21:51:04Z</dc:date>
    </item>
  </channel>
</rss>

