<?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 find the most searched index in splunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-most-searched-index-in-splunk/m-p/207983#M60616</link>
    <description>&lt;P&gt;doesn't work if user searches eventtype=blah&lt;/P&gt;</description>
    <pubDate>Wed, 01 Nov 2017 14:54:40 GMT</pubDate>
    <dc:creator>w531t4</dc:creator>
    <dc:date>2017-11-01T14:54:40Z</dc:date>
    <item>
      <title>How to find the most searched index in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-most-searched-index-in-splunk/m-p/207979#M60612</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;How to find the most searched index in splunk?&lt;/P&gt;

&lt;P&gt;This would help us to increase the hot/warm buckets for them.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Simon Mandy&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 07:23:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-most-searched-index-in-splunk/m-p/207979#M60612</guid>
      <dc:creator>sim_tcr</dc:creator>
      <dc:date>2015-10-29T07:23:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the most searched index in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-most-searched-index-in-splunk/m-p/207980#M60613</link>
      <description>&lt;P&gt;Hello Simon Mandy,&lt;/P&gt;

&lt;P&gt;maybe you want to try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=search info=granted search=* NOT "search_id='scheduler" NOT "search='|history" NOT "user=splunk-system-user" NOT "search='typeahead" NOT "search='| metadata type=* | search totalCount&amp;gt;0" | rex field=search "index=(?P&amp;lt;search_index&amp;gt;[^ ]+)" | stats count by search_index | sort - count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I hope this helps.&lt;/P&gt;

&lt;P&gt;regards&lt;/P&gt;</description>
      <pubDate>Thu, 29 Oct 2015 08:30:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-most-searched-index-in-splunk/m-p/207980#M60613</guid>
      <dc:creator>PPape</dc:creator>
      <dc:date>2015-10-29T08:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the most searched index in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-most-searched-index-in-splunk/m-p/207981#M60614</link>
      <description>&lt;P&gt;This works fine if only one index is search, but if you have some like this:&lt;BR /&gt;
&lt;STRONG&gt;index=cisco_firewall OR index="cp_firewall user="Garth"&lt;/STRONG&gt;&lt;BR /&gt;
Your result will only show &lt;STRONG&gt;cisco_firewall&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;A search like this:&lt;BR /&gt;
&lt;STRONG&gt;index=*_firewall user="Garth"&lt;/STRONG&gt;&lt;BR /&gt;
will show up as &lt;EM&gt;**_firewall&lt;/EM&gt;*&lt;/P&gt;

&lt;P&gt;Other than that its a nice way to see what is used in search.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:41:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-most-searched-index-in-splunk/m-p/207981#M60614</guid>
      <dc:creator>lakromani</dc:creator>
      <dc:date>2020-09-29T07:41:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the most searched index in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-most-searched-index-in-splunk/m-p/207982#M60615</link>
      <description>&lt;P&gt;Yes you are right. &lt;BR /&gt;
The first problem should be solveable with the "max_match=[number]" parameter.&lt;BR /&gt;
The second Problem isn't really a problem. If there are many searches to *_firewall you know you have to improve all of the matching indexes.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 07:44:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-most-searched-index-in-splunk/m-p/207982#M60615</guid>
      <dc:creator>PPape</dc:creator>
      <dc:date>2020-09-29T07:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to find the most searched index in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-most-searched-index-in-splunk/m-p/207983#M60616</link>
      <description>&lt;P&gt;doesn't work if user searches eventtype=blah&lt;/P&gt;</description>
      <pubDate>Wed, 01 Nov 2017 14:54:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-the-most-searched-index-in-splunk/m-p/207983#M60616</guid>
      <dc:creator>w531t4</dc:creator>
      <dc:date>2017-11-01T14:54:40Z</dc:date>
    </item>
  </channel>
</rss>

