<?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: identify which user is doing longest searches in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458912#M170429</link>
    <description>&lt;P&gt;Hi @asneed_eu  &lt;/P&gt;

&lt;P&gt;Thanks for your replay. It seems to works but i can only see my username. Can't see other users.&lt;/P&gt;</description>
    <pubDate>Thu, 11 Jul 2019 07:18:31 GMT</pubDate>
    <dc:creator>amirarsalan</dc:creator>
    <dc:date>2019-07-11T07:18:31Z</dc:date>
    <item>
      <title>identify which user is doing longest searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458909#M170426</link>
      <description>&lt;P&gt;Hi Everyone!&lt;/P&gt;

&lt;P&gt;I need some help to identify which user are running longest/bad searches. Sometimes splunk goes very slow and it indicate that someone running searches/jobs that is not god and I want to identify who it is and see the search string for that user.&lt;/P&gt;

&lt;P&gt;Someone that can help me with a query &lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 13:37:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458909#M170426</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-07-10T13:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: identify which user is doing longest searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458910#M170427</link>
      <description>&lt;P&gt;its out of the box with the MC (DMC)&lt;BR /&gt;
search -&amp;gt; activity -&amp;gt; Search Usage Statistics: Deployment&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jul 2019 14:05:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458910#M170427</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-07-10T14:05:43Z</dc:date>
    </item>
    <item>
      <title>Re: identify which user is doing longest searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458911#M170428</link>
      <description>&lt;P&gt;The _audit index should have this information.&lt;/P&gt;

&lt;P&gt;This would show a list of searches sorted by execution time by user:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action="search" search=* NOT user="splunk-system-user" exec_time=* | table search total_run_time user | sort - total_run_time
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You could also look at which users have the longest running searches on average:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=_audit action="search" search=* NOT user="splunk-system-user" exec_time=* | stats avg(total_run_time) by user
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 10 Jul 2019 14:06:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458911#M170428</guid>
      <dc:creator>asneed_eu</dc:creator>
      <dc:date>2019-07-10T14:06:14Z</dc:date>
    </item>
    <item>
      <title>Re: identify which user is doing longest searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458912#M170429</link>
      <description>&lt;P&gt;Hi @asneed_eu  &lt;/P&gt;

&lt;P&gt;Thanks for your replay. It seems to works but i can only see my username. Can't see other users.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 07:18:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458912#M170429</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-07-11T07:18:31Z</dc:date>
    </item>
    <item>
      <title>Re: identify which user is doing longest searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458913#M170430</link>
      <description>&lt;P&gt;Hi @adonio &lt;/P&gt;

&lt;P&gt;Is this in splunk-master? If it is then i can only see users that have access to splunk-master, and that is only 3 persons. &lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 08:11:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458913#M170430</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-07-11T08:11:49Z</dc:date>
    </item>
    <item>
      <title>Re: identify which user is doing longest searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458914#M170431</link>
      <description>&lt;P&gt;Beside that I can't  see the total_run_time and on the search field it's only "*"&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 01:13:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458914#M170431</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2020-09-30T01:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: identify which user is doing longest searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458915#M170432</link>
      <description>&lt;P&gt;not the Cluster Master, its called Splunk Monitoring Console. &lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/DMC/DMCoverview"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.0/DMC/DMCoverview&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://docs.splunk.com/Documentation/Splunk/7.3.0/DMC/Searchusagestatistics"&gt;https://docs.splunk.com/Documentation/Splunk/7.3.0/DMC/Searchusagestatistics&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 12:36:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458915#M170432</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2019-07-11T12:36:32Z</dc:date>
    </item>
    <item>
      <title>Re: identify which user is doing longest searches</title>
      <link>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458916#M170433</link>
      <description>&lt;P&gt;I can only see "Add Data" there is no Splunk Monitoring Console. I can only found it in master.&lt;BR /&gt;
And i'm a admin user&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 12:55:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/identify-which-user-is-doing-longest-searches/m-p/458916#M170433</guid>
      <dc:creator>amirarsalan</dc:creator>
      <dc:date>2019-07-11T12:55:20Z</dc:date>
    </item>
  </channel>
</rss>

