<?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: Check search history of all users on SH cluster excluding dashboard searches in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Check-search-history-of-all-users-on-SH-cluster-excluding/m-p/301047#M39687</link>
    <description>&lt;P&gt;also you can negate for users like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=search (id=* OR search_id=*) NOT (user="admin" OR user="*abc") 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 03 Apr 2018 08:39:56 GMT</pubDate>
    <dc:creator>splunker12er</dc:creator>
    <dc:date>2018-04-03T08:39:56Z</dc:date>
    <item>
      <title>Check search history of all users on SH cluster excluding dashboard searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Check-search-history-of-all-users-on-SH-cluster-excluding/m-p/301045#M39685</link>
      <description>&lt;P&gt;Is there a way to list all sourcetypes that have been searched by all users across a SH cluster, excluding searches that are executed in a dashboard?&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 08:31:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Check-search-history-of-all-users-on-SH-cluster-excluding/m-p/301045#M39685</guid>
      <dc:creator>tusharsaran1</dc:creator>
      <dc:date>2018-04-03T08:31:14Z</dc:date>
    </item>
    <item>
      <title>Re: Check search history of all users on SH cluster excluding dashboard searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Check-search-history-of-all-users-on-SH-cluster-excluding/m-p/301046#M39686</link>
      <description>&lt;P&gt;try this,&lt;/P&gt;

&lt;P&gt;ad-hoc searches&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=search (id=* OR search_id=*) | eval search_id = if(isnull(search_id), id, search_id) | replace '*' with * in search_id | rex "search='(?&amp;lt;search&amp;gt;.*?)', autojoin" | search search_id!=scheduler_* | convert num(total_run_time) | eval user = if(user="n/a", null(), user) | stats min(_time) as _time first(user) as user max(total_run_time) as total_run_time first(search) as search by search_id | search search=search* search!=*_internal* search!=*_audit* | chart median(total_run_time) as "Median search time" perc95(total_run_time) as "95th Percentile search time" sum(total_run_time) as "Total search time" count as "Search count" max(_time) as "Last use" by user | fieldformat "Last use" = strftime('Last use', "%F %T.%Q %:z")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Apr 2018 08:38:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Check-search-history-of-all-users-on-SH-cluster-excluding/m-p/301046#M39686</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2018-04-03T08:38:08Z</dc:date>
    </item>
    <item>
      <title>Re: Check search history of all users on SH cluster excluding dashboard searches</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Check-search-history-of-all-users-on-SH-cluster-excluding/m-p/301047#M39687</link>
      <description>&lt;P&gt;also you can negate for users like&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action=search (id=* OR search_id=*) NOT (user="admin" OR user="*abc") 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 03 Apr 2018 08:39:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Check-search-history-of-all-users-on-SH-cluster-excluding/m-p/301047#M39687</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2018-04-03T08:39:56Z</dc:date>
    </item>
  </channel>
</rss>

