<?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: Is it possible to search and identify the top users of each index? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242442#M72125</link>
    <description>&lt;P&gt;I'm sluggish today &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
This is what I wanted to use (indexname - the extracted field). Updated the answer as well.&lt;/P&gt;</description>
    <pubDate>Tue, 11 Oct 2016 15:52:36 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-10-11T15:52:36Z</dc:date>
    <item>
      <title>Is it possible to search and identify the top users of each index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242437#M72120</link>
      <description>&lt;P&gt;Wondering if there is a way to identify top user of each index. Basically I am tasked with going back and identifying the use cases for each index in our environment, and I feel that the best way of doing so is to contact the users who search the respective indexes the most.&lt;/P&gt;

&lt;P&gt;Thanks!!&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 14:23:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242437#M72120</guid>
      <dc:creator>paimonsoror</dc:creator>
      <dc:date>2016-10-11T14:23:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to search and identify the top users of each index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242438#M72121</link>
      <description>&lt;P&gt;Hi paimonsoror, &lt;/P&gt;

&lt;P&gt;Not sure if I understand your question correctly, but if you want to get detailed usage information about indexes, follow these steps: &lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;From the Splunk Web menu, select &lt;STRONG&gt;Settings &amp;gt;  Monitoring Console&lt;/STRONG&gt;. &lt;/LI&gt;
&lt;LI&gt;From the Monitoring Console menu, select &lt;STRONG&gt;Indexing &amp;gt; Indexes and Volumes &amp;gt; Indexes and Volumes: Instance&lt;/STRONG&gt;. &lt;/LI&gt;
&lt;LI&gt;You can view usage information of all your indexes and drill down to see details as needed. &lt;/LI&gt;
&lt;/OL&gt;

&lt;P&gt;Hope it helps. Thanks!&lt;BR /&gt;
Hunter Shen&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 15:06:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242438#M72121</guid>
      <dc:creator>hunters_splunk</dc:creator>
      <dc:date>2016-10-11T15:06:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to search and identify the top users of each index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242439#M72122</link>
      <description>&lt;P&gt;Thanks for the response @hunters_splunk.  Basically I am looking to answer the question:&lt;/P&gt;

&lt;P&gt;"For Index XYZ, User ABC runs the most queries against it"&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 15:12:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242439#M72122</guid>
      <dc:creator>paimonsoror</dc:creator>
      <dc:date>2016-10-11T15:12:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to search and identify the top users of each index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242440#M72123</link>
      <description>&lt;P&gt;You can search the _audit logs to see the user searches and try to figure out index details from there. Following query should give you top user for each index.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Updated&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=search search=* user=*| rex field=search "index\s*=\s*\"*(?&amp;lt;indexname&amp;gt;[^\s\"]+)" | stats count by indexname user | sort 0 indexname -count | dedup indexname
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Now the problem with this query is it searches what users are running in Splunk, and often user don't specify index names (which they should to get best performance) in their searches. Above will not count for those searches. See if this can be useful for you with that limitation.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 15:34:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242440#M72123</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-10-11T15:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to search and identify the top users of each index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242441#M72124</link>
      <description>&lt;P&gt;This is awesome, except it looks like it only return a one liner for me that only showed the index as _audit.&lt;/P&gt;

&lt;P&gt;I got some results by running the slight changes here, not sure if it is what you intended, but it certainly gives me a starting point:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=search search=* user=*| rex field=search "index\s*=\s*\"*(?&amp;lt;indexname&amp;gt;[^\s\"]+)" | stats count by indexname user | sort 0 indexname -count | dedup indexname
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Oct 2016 15:50:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242441#M72124</guid>
      <dc:creator>paimonsoror</dc:creator>
      <dc:date>2016-10-11T15:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to search and identify the top users of each index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242442#M72125</link>
      <description>&lt;P&gt;I'm sluggish today &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;
This is what I wanted to use (indexname - the extracted field). Updated the answer as well.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Oct 2016 15:52:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242442#M72125</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-10-11T15:52:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to search and identify the top users of each index?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242443#M72126</link>
      <description>&lt;P&gt;Wouldn't this only work if the user manually specified the index name in the search query? Users would have to specify it if the index were only allowed and not the default.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Apr 2019 15:59:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-it-possible-to-search-and-identify-the-top-users-of-each/m-p/242443#M72126</guid>
      <dc:creator>vcarbona</dc:creator>
      <dc:date>2019-04-30T15:59:16Z</dc:date>
    </item>
  </channel>
</rss>

