<?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: The &amp;quot;where count&amp;quot; clause is showing no results in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/The-quot-where-count-quot-clause-is-showing-no-results/m-p/700916#M237789</link>
    <description>&lt;P&gt;I removed "(actor.displayName)" from the first "count" command and it works now.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Oct 2024 16:03:52 GMT</pubDate>
    <dc:creator>anayi</dc:creator>
    <dc:date>2024-10-03T16:03:52Z</dc:date>
    <item>
      <title>The "where count" clause is showing no results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/The-quot-where-count-quot-clause-is-showing-no-results/m-p/700911#M237788</link>
      <description>&lt;P&gt;I'm trying to create an alert. The alert's query ends with " | stats values(*) as * by actor.displayName | stats count(actor.displayName)".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anayi_0-1727969909088.png" style="width: 771px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32928iA90A55110D482AE8/image-dimensions/771x41?v=v2" width="771" height="41" role="button" title="anayi_0-1727969909088.png" alt="anayi_0-1727969909088.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I want to add the clause, " | where count &amp;gt; 5" at the end of the query. To verify that the query would work, I changed it "| where count &amp;lt; 5", but I'm getting no results.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anayi_1-1727970089613.png" style="width: 768px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/32929i6C43C51381B8F71A/image-dimensions/768x167?v=v2" width="768" height="167" role="button" title="anayi_1-1727970089613.png" alt="anayi_1-1727970089613.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 15:44:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/The-quot-where-count-quot-clause-is-showing-no-results/m-p/700911#M237788</guid>
      <dc:creator>anayi</dc:creator>
      <dc:date>2024-10-03T15:44:46Z</dc:date>
    </item>
    <item>
      <title>Re: The "where count" clause is showing no results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/The-quot-where-count-quot-clause-is-showing-no-results/m-p/700916#M237789</link>
      <description>&lt;P&gt;I removed "(actor.displayName)" from the first "count" command and it works now.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Oct 2024 16:03:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/The-quot-where-count-quot-clause-is-showing-no-results/m-p/700916#M237789</guid>
      <dc:creator>anayi</dc:creator>
      <dc:date>2024-10-03T16:03:52Z</dc:date>
    </item>
    <item>
      <title>Re: The "where count" clause is showing no results</title>
      <link>https://community.splunk.com/t5/Splunk-Search/The-quot-where-count-quot-clause-is-showing-no-results/m-p/700920#M237791</link>
      <description>&lt;LI-CODE lang="markup"&gt;| stats count(actor.displayName)&lt;/LI-CODE&gt;&lt;P&gt;will give you a field called "count(actor.displayName)" not "count" which is why the where command returns no results. Try it like this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| stats count(actor.displayName) as count | where count &amp;lt; 5&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 03 Oct 2024 16:25:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/The-quot-where-count-quot-clause-is-showing-no-results/m-p/700920#M237791</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-10-03T16:25:28Z</dc:date>
    </item>
  </channel>
</rss>

