<?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 all manual searches performed on a single index for a period of 1 month? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601078#M209217</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You're right, it won't. I suppose you would need to use a similar rex command to find the sourcetype(s) searched and then if there wasn't an associated index (i.e. it was implicit) use a join or similar with the metadata command to map the sourcetype to an index name?&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 08 Jun 2022 20:02:51 GMT</pubDate>
    <dc:creator>jamie00171</dc:creator>
    <dc:date>2022-06-08T20:02:51Z</dc:date>
    <item>
      <title>How to find all manual searches performed on a single index for a period of 1 month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601017#M209193</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to retrieve following info through Splunk search&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. List of all splunk searches performed on a single index along with the user list along with timestamp of search performed for a given period ( 1 month or 1 year )&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 15:40:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601017#M209193</guid>
      <dc:creator>splunkfriend123</dc:creator>
      <dc:date>2022-06-08T15:40:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to find all manual searches performed on a single index for a period of 1 month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601064#M209212</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/246600"&gt;@splunkfriend123&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;This will give you a count by user:&lt;/P&gt;&lt;PRE&gt;index=_audit TERM(action=search) TERM(info=completed) search=* (TERM(index=my_index) OR TERM(myindex) OR TERM(=my_index))&lt;BR /&gt;| rex max_match=0 field=search "index[\s]*=[\s]*(?!_audit)(?&amp;lt;title&amp;gt;[\w_\-\*\"]+)"&lt;BR /&gt;| mvexpand title&lt;BR /&gt;| eval title = trim(replace(title, "\"", ""))&lt;BR /&gt;| search title=my_index&lt;BR /&gt;| stats count by user&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This will give you a count by user and timestamp:&lt;/P&gt;&lt;PRE&gt;index=_audit TERM(action=search) TERM(info=completed) search=* (TERM(index=my_index) OR TERM(my_index) OR TERM(=my_index))&lt;BR /&gt;| rex max_match=0 field=search "index[\s]*=[\s]*(?!_audit)(?&amp;lt;title&amp;gt;[\w_\-\*\"]+)"&lt;BR /&gt;| mvexpand title&lt;BR /&gt;| eval title = trim(replace(title, "\"", ""))&lt;BR /&gt;| search title=my_index&lt;BR /&gt;| stats count by user, _time&lt;/PRE&gt;&lt;P&gt;just replace my_index with the index name you want to use.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;/P&gt;&lt;P&gt;Jamie&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 17:46:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601064#M209212</guid>
      <dc:creator>jamie00171</dc:creator>
      <dc:date>2022-06-08T17:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to find all manual searches performed on a single index for a period of 1 month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601065#M209213</link>
      <description>&lt;P&gt;sorry the first search should be:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;PRE&gt;index=_audit TERM(action=search) TERM(info=completed) search=* (TERM(index=my_index) OR TERM(my_index) OR TERM(=my_index))&lt;BR /&gt;| rex max_match=0 field=search "index[\s]*=[\s]*(?!_audit)(?&amp;lt;title&amp;gt;[\w_\-\*\"]+)"&lt;BR /&gt;| mvexpand title&lt;BR /&gt;| eval title = trim(replace(title, "\"", ""))&lt;BR /&gt;| search title=my_index&lt;BR /&gt;| stats count by user&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Jun 2022 17:47:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601065#M209213</guid>
      <dc:creator>jamie00171</dc:creator>
      <dc:date>2022-06-08T17:47:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to find all manual searches performed on a single index for a period of 1 month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601076#M209216</link>
      <description>&lt;P&gt;Correct me if I'm wrong but will it catch searches where index is implicit?&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 19:48:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601076#M209216</guid>
      <dc:creator>PickleRick</dc:creator>
      <dc:date>2022-06-08T19:48:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to find all manual searches performed on a single index for a period of 1 month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601078#M209217</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231884"&gt;@PickleRick&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You're right, it won't. I suppose you would need to use a similar rex command to find the sourcetype(s) searched and then if there wasn't an associated index (i.e. it was implicit) use a join or similar with the metadata command to map the sourcetype to an index name?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 20:02:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601078#M209217</guid>
      <dc:creator>jamie00171</dc:creator>
      <dc:date>2022-06-08T20:02:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to find all manual searches performed on a single index for a period of 1 month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601105#M209223</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/211432"&gt;@jamie00171&lt;/a&gt;&amp;nbsp;- Will it have an issue with searches where the index is within a macro?&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 04:15:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601105#M209223</guid>
      <dc:creator>VatsalJagani</dc:creator>
      <dc:date>2022-06-09T04:15:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to find all manual searches performed on a single index for a period of 1 month?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601115#M209225</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I afraid that currently there is no way to find answer to this question. There is no audit log which told if bucket has accessed (read event from it and returned it to search). We have asked this couple of years ago from Splunk Support, and then they put this feature on "future development list". &amp;nbsp;Maybe it's time to create official request to &lt;A href="https://ideas.splunk.com" target="_blank"&gt;https://ideas.splunk.com&lt;/A&gt;&amp;nbsp;to get it?&lt;/P&gt;&lt;P&gt;Currently you can find those queries which contains index name on SPL, but not other queries. Or at least I don' t know how it's possible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;r. Ismo&lt;/P&gt;</description>
      <pubDate>Thu, 09 Jun 2022 06:28:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-find-all-manual-searches-performed-on-a-single-index-for/m-p/601115#M209225</guid>
      <dc:creator>isoutamo</dc:creator>
      <dc:date>2022-06-09T06:28:51Z</dc:date>
    </item>
  </channel>
</rss>

