<?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 how do i get a list of all searches performed in splunk? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/how-do-i-get-a-list-of-all-searches-performed-in-splunk/m-p/139972#M38563</link>
    <description>&lt;P&gt;can someone help me with a query to provide me a table of _time, user, search string of all queries performed in splunk please?&lt;/P&gt;</description>
    <pubDate>Thu, 25 Sep 2014 07:47:15 GMT</pubDate>
    <dc:creator>ytl</dc:creator>
    <dc:date>2014-09-25T07:47:15Z</dc:date>
    <item>
      <title>how do i get a list of all searches performed in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-do-i-get-a-list-of-all-searches-performed-in-splunk/m-p/139972#M38563</link>
      <description>&lt;P&gt;can someone help me with a query to provide me a table of _time, user, search string of all queries performed in splunk please?&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2014 07:47:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-do-i-get-a-list-of-all-searches-performed-in-splunk/m-p/139972#M38563</guid>
      <dc:creator>ytl</dc:creator>
      <dc:date>2014-09-25T07:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: how do i get a list of all searches performed in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-do-i-get-a-list-of-all-searches-performed-in-splunk/m-p/139973#M38564</link>
      <description>&lt;P&gt;Hi ytl,&lt;/P&gt;

&lt;P&gt;you need to have read access to &lt;CODE&gt;index=_audit&lt;/CODE&gt; and run something like 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" | stats count by user search _time | sort _time | convert ctime(_time) | stats list(_time) as time list(search) as search by user
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;if this does not match your needs, adapt this search.&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2014 07:58:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-do-i-get-a-list-of-all-searches-performed-in-splunk/m-p/139973#M38564</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-09-25T07:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: how do i get a list of all searches performed in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-do-i-get-a-list-of-all-searches-performed-in-splunk/m-p/139974#M38565</link>
      <description>&lt;P&gt;as addition:&lt;/P&gt;

&lt;P&gt;If you're on Splunk 6.x you can open this URL and get the same:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;http[s]://YourSplunkServerName:YourSplunkWebPort/app/search/status_index
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 25 Sep 2014 08:38:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-do-i-get-a-list-of-all-searches-performed-in-splunk/m-p/139974#M38565</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-09-25T08:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: how do i get a list of all searches performed in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-do-i-get-a-list-of-all-searches-performed-in-splunk/m-p/139975#M38566</link>
      <description>&lt;P&gt;how to exclude the searches obtained from a dashboard ? &lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 01:41:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-do-i-get-a-list-of-all-searches-performed-in-splunk/m-p/139975#M38566</guid>
      <dc:creator>nawazns5038</dc:creator>
      <dc:date>2018-02-27T01:41:29Z</dc:date>
    </item>
    <item>
      <title>Re: how do i get a list of all searches performed in splunk?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/how-do-i-get-a-list-of-all-searches-performed-in-splunk/m-p/139976#M38567</link>
      <description>&lt;P&gt;@nawazns5038, if your intent is to find only the searches which are run through Splunk UI, you can try the following:&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=sourcetypes | search totalCount &amp;gt; 0"
| stats count by _time user search savedsearch_name  
| where savedsearch_name=""
| fields - savedsearch_name
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;PS: savedsearch_name will be given to saved searches and dashboard searches not for the searches run via UI.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Feb 2018 19:57:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/how-do-i-get-a-list-of-all-searches-performed-in-splunk/m-p/139976#M38567</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-02-27T19:57:34Z</dc:date>
    </item>
  </channel>
</rss>

