<?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 group results that has 5 or more distinct values in list(repo_name) ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-group-results-that-has-5-or-more-distinct-values-in-list/m-p/407515#M171864</link>
    <description>&lt;P&gt;Perhaps something like this will work for you.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;query | stats list(repo_name) as repo_names by user_login | where mvcount(repo_names) &amp;gt; 4
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 15 Apr 2019 02:47:31 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2019-04-15T02:47:31Z</dc:date>
    <item>
      <title>How to group results that has 5 or more distinct values in list(repo_name) ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-group-results-that-has-5-or-more-distinct-values-in-list/m-p/407514#M171863</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a search query as below.&lt;/P&gt;

&lt;P&gt;query |  stats list(repo_name) by user_login&lt;/P&gt;

&lt;P&gt;This returns username with their repository listed grouped by the user_login. &lt;/P&gt;

&lt;P&gt;For example : &lt;/P&gt;

&lt;P&gt;Name           Repository&lt;BR /&gt;
user_login   XXX&lt;/P&gt;

&lt;P&gt;How can i enhance the query to only return searches ONLY if the list of repository has 5 or more values ? &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 00:05:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-group-results-that-has-5-or-more-distinct-values-in-list/m-p/407514#M171863</guid>
      <dc:creator>wailoont</dc:creator>
      <dc:date>2020-09-30T00:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to group results that has 5 or more distinct values in list(repo_name) ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-group-results-that-has-5-or-more-distinct-values-in-list/m-p/407515#M171864</link>
      <description>&lt;P&gt;Perhaps something like this will work for you.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;query | stats list(repo_name) as repo_names by user_login | where mvcount(repo_names) &amp;gt; 4
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 15 Apr 2019 02:47:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-group-results-that-has-5-or-more-distinct-values-in-list/m-p/407515#M171864</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2019-04-15T02:47:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to group results that has 5 or more distinct values in list(repo_name) ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-group-results-that-has-5-or-more-distinct-values-in-list/m-p/407516#M171865</link>
      <description>&lt;P&gt;Many thanks. it works. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Apr 2019 05:58:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-group-results-that-has-5-or-more-distinct-values-in-list/m-p/407516#M171865</guid>
      <dc:creator>wailoont</dc:creator>
      <dc:date>2019-04-15T05:58:46Z</dc:date>
    </item>
  </channel>
</rss>

