<?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: I need to know which index and app has been access how many time in last one month in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-know-which-index-and-app-has-been-access-how-many-time/m-p/496256#M194641</link>
    <description>&lt;P&gt;This may help you:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=search search=* sourcetype=audittrail  | rex field=search "sourcetype\s*=\s*\"*(?&amp;lt;SourcetypeUsed&amp;gt;[^\s\"]+)"  | rex field=search "index\s*=\s*\"*(?&amp;lt;IndexUsed&amp;gt;[^\s\"]+)" | search IndexUsed=* OR SourcetypeUsed=* | fillnull value="NA" IndexUsed SourcetypeUsed| stats count by IndexUsed SourcetypeUsed
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The count represents a number of searches execution that are using that index/sourcetype.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2020 12:50:41 GMT</pubDate>
    <dc:creator>p_gurav</dc:creator>
    <dc:date>2020-01-27T12:50:41Z</dc:date>
    <item>
      <title>I need to know which index and app has been access how many time in last one month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-know-which-index-and-app-has-been-access-how-many-time/m-p/496253#M194638</link>
      <description>&lt;P&gt;I need to know how many time all the indexes in my splunk has been accessed in last 30 days by app name(I tried so many posts  but none of the post resolved my issue). can anyone help me to get this fixed.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 12:19:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-know-which-index-and-app-has-been-access-how-many-time/m-p/496253#M194638</guid>
      <dc:creator>csharm21</dc:creator>
      <dc:date>2020-01-27T12:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: I need to know which index and app has been access how many time in last one month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-know-which-index-and-app-has-been-access-how-many-time/m-p/496254#M194639</link>
      <description>&lt;P&gt;What you mean by "accessed", do you mean how many time somone searched in an index?&lt;BR /&gt;
That information can you see in _audit.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 12:21:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-know-which-index-and-app-has-been-access-how-many-time/m-p/496254#M194639</guid>
      <dc:creator>broberg</dc:creator>
      <dc:date>2020-01-27T12:21:46Z</dc:date>
    </item>
    <item>
      <title>Re: I need to know which index and app has been access how many time in last one month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-know-which-index-and-app-has-been-access-how-many-time/m-p/496255#M194640</link>
      <description>&lt;P&gt;@broberge yes i need to pull detail how many time some one searched the index. if that index has not been searched more then one month, we will do clean up. I tried multiple things using _Audit but still no luck.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 12:24:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-know-which-index-and-app-has-been-access-how-many-time/m-p/496255#M194640</guid>
      <dc:creator>csharm21</dc:creator>
      <dc:date>2020-01-27T12:24:57Z</dc:date>
    </item>
    <item>
      <title>Re: I need to know which index and app has been access how many time in last one month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-know-which-index-and-app-has-been-access-how-many-time/m-p/496256#M194641</link>
      <description>&lt;P&gt;This may help you:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=search search=* sourcetype=audittrail  | rex field=search "sourcetype\s*=\s*\"*(?&amp;lt;SourcetypeUsed&amp;gt;[^\s\"]+)"  | rex field=search "index\s*=\s*\"*(?&amp;lt;IndexUsed&amp;gt;[^\s\"]+)" | search IndexUsed=* OR SourcetypeUsed=* | fillnull value="NA" IndexUsed SourcetypeUsed| stats count by IndexUsed SourcetypeUsed
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;The count represents a number of searches execution that are using that index/sourcetype.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 12:50:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-know-which-index-and-app-has-been-access-how-many-time/m-p/496256#M194641</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2020-01-27T12:50:41Z</dc:date>
    </item>
    <item>
      <title>Re: I need to know which index and app has been access how many time in last one month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-know-which-index-and-app-has-been-access-how-many-time/m-p/496257#M194642</link>
      <description>&lt;P&gt;Thanks p_gurav, this is working.  I also need to filter this by application  name. would you be able to help on this.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 13:29:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-know-which-index-and-app-has-been-access-how-many-time/m-p/496257#M194642</guid>
      <dc:creator>csharm21</dc:creator>
      <dc:date>2020-01-27T13:29:39Z</dc:date>
    </item>
    <item>
      <title>Re: I need to know which index and app has been access how many time in last one month</title>
      <link>https://community.splunk.com/t5/Splunk-Search/I-need-to-know-which-index-and-app-has-been-access-how-many-time/m-p/496258#M194643</link>
      <description>&lt;P&gt;Based on the comment thread, @p_gurav, you should convert your comment to an answer, so @csharm21 can accept it.&lt;BR /&gt;
@csharm21 you should ask that as a separate question, in my humble opinion. Adding the APP to the query, most likely means you're querying _internal also, which would require a lot more work to add in.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2020 16:11:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/I-need-to-know-which-index-and-app-has-been-access-how-many-time/m-p/496258#M194643</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2020-01-27T16:11:41Z</dc:date>
    </item>
  </channel>
</rss>

