<?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 results by count on one item in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Filtering-results-by-count-on-one-item/m-p/150052#M42016</link>
    <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=MyIndex (EventType="X" OR EventType="Y") | stats count as Count by EventType | append [search index=MyIndex EventType="Z" | stats count as Count by EventType | where Count &amp;gt; 1]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 20 Jul 2014 18:58:08 GMT</pubDate>
    <dc:creator>strive</dc:creator>
    <dc:date>2014-07-20T18:58:08Z</dc:date>
    <item>
      <title>Filtering results by count on one item</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-results-by-count-on-one-item/m-p/150051#M42015</link>
      <description>&lt;P&gt;What I am trying to accomplish.&lt;BR /&gt;
Search for three items   X  Y and Z .&lt;BR /&gt;
Count the total number of events for each X Y Z .&lt;BR /&gt;
Display any results from X or Y and only display Z when the count is above 1.&lt;/P&gt;

&lt;P&gt;I am having trouble with the last part of this search. I am not sure how to process the count of the Z result and drop results below the count of 1. I have tried several techniques but I have not had any success in putting the searches together.&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jul 2014 18:15:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-results-by-count-on-one-item/m-p/150051#M42015</guid>
      <dc:creator>pitshot</dc:creator>
      <dc:date>2014-07-20T18:15:33Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering results by count on one item</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-results-by-count-on-one-item/m-p/150052#M42016</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=MyIndex (EventType="X" OR EventType="Y") | stats count as Count by EventType | append [search index=MyIndex EventType="Z" | stats count as Count by EventType | where Count &amp;gt; 1]
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 20 Jul 2014 18:58:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-results-by-count-on-one-item/m-p/150052#M42016</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-07-20T18:58:08Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering results by count on one item</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Filtering-results-by-count-on-one-item/m-p/150053#M42017</link>
      <description>&lt;P&gt;Perfect, I was making the search into something way to complicated. The append works great Thanks&lt;/P&gt;</description>
      <pubDate>Sun, 20 Jul 2014 19:18:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Filtering-results-by-count-on-one-item/m-p/150053#M42017</guid>
      <dc:creator>pitshot</dc:creator>
      <dc:date>2014-07-20T19:18:37Z</dc:date>
    </item>
  </channel>
</rss>

