<?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: Filtering based on quantity of list() results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Filtering-based-on-quantity-of-list-results/m-p/140756#M38925</link>
    <description>&lt;P&gt;Yes, that works!  I think I was trying to over complicate it!&lt;/P&gt;</description>
    <pubDate>Mon, 14 Jul 2014 09:31:15 GMT</pubDate>
    <dc:creator>Sam2</dc:creator>
    <dc:date>2014-07-14T09:31:15Z</dc:date>
    <item>
      <title>Filtering based on quantity of list() results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-based-on-quantity-of-list-results/m-p/140754#M38923</link>
      <description>&lt;P&gt;Hello all, &lt;/P&gt;

&lt;P&gt;I have this search:&lt;/P&gt;

&lt;P&gt;...| streamstats window=1 global=false current=f last(_time) as next_time by cs_host,username| eval gap = next_time - _time |search gap&amp;gt;350| stats list(gap) by cs_host,username&lt;/P&gt;

&lt;P&gt;which draws a nice table, grouped by list(gap).  However, I'd like to remove any rows in the table that only have one results of list(gap), but am struggling with the syntax.  Can anyone help please?&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:03:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-based-on-quantity-of-list-results/m-p/140754#M38923</guid>
      <dc:creator>Sam2</dc:creator>
      <dc:date>2020-09-28T17:03:36Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering based on quantity of list() results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-based-on-quantity-of-list-results/m-p/140755#M38924</link>
      <description>&lt;P&gt;How about this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;... | streamstats window=1 global=false current=f last(_time) as next_time by cs_host,username| eval gap = next_time - _time | search gap&amp;gt;350 | stats count list(gap) by cs_host username | where count &amp;gt; 1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 14 Jul 2014 08:49:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-based-on-quantity-of-list-results/m-p/140755#M38924</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-07-14T08:49:06Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering based on quantity of list() results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-based-on-quantity-of-list-results/m-p/140756#M38925</link>
      <description>&lt;P&gt;Yes, that works!  I think I was trying to over complicate it!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Jul 2014 09:31:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-based-on-quantity-of-list-results/m-p/140756#M38925</guid>
      <dc:creator>Sam2</dc:creator>
      <dc:date>2014-07-14T09:31:15Z</dc:date>
    </item>
  </channel>
</rss>

