<?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: Creating a search that will fetch 10 unique repository that perform an action in the last 10 minutes in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-that-will-fetch-10-unique-repository-that/m-p/394676#M171939</link>
    <description>&lt;P&gt;You could use &lt;CODE&gt;stats dc(repository)&lt;/CODE&gt; and trigger when that is 10 or more, or stick to &lt;CODE&gt;stats count by repository&lt;/CODE&gt; and set the alert trigger to only trigger if the result count is 10 or more.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Apr 2019 09:41:02 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2019-04-10T09:41:02Z</dc:date>
    <item>
      <title>Creating a search that will fetch 10 unique repository that perform an action in the last 10 minutes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-that-will-fetch-10-unique-repository-that/m-p/394675#M171938</link>
      <description>&lt;P&gt;Hi Splunk,&lt;/P&gt;

&lt;P&gt;I am in trying to create an alert that will send email to users if the search query returned results if there is 10 unique repository returned in the events.&lt;/P&gt;

&lt;P&gt;search_query earliest=-10m@m latest=now &lt;BR /&gt;
| stats count by repository| where count &amp;gt; 9 | sort - count&lt;/P&gt;

&lt;P&gt;Currently, the alert trigger if there is an occurence of 10 times of the SAME repository. I want to improve the query by triggering alert if only there is 10 DIFFERENT repository. &lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 07:12:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-that-will-fetch-10-unique-repository-that/m-p/394675#M171938</guid>
      <dc:creator>wailoont</dc:creator>
      <dc:date>2019-04-10T07:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a search that will fetch 10 unique repository that perform an action in the last 10 minutes</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-that-will-fetch-10-unique-repository-that/m-p/394676#M171939</link>
      <description>&lt;P&gt;You could use &lt;CODE&gt;stats dc(repository)&lt;/CODE&gt; and trigger when that is 10 or more, or stick to &lt;CODE&gt;stats count by repository&lt;/CODE&gt; and set the alert trigger to only trigger if the result count is 10 or more.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Apr 2019 09:41:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Creating-a-search-that-will-fetch-10-unique-repository-that/m-p/394676#M171939</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2019-04-10T09:41:02Z</dc:date>
    </item>
  </channel>
</rss>

