<?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: Cluster Count Not working in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Why-is-Cluster-Count-not-working/m-p/589123#M205169</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just want to understand why cluster count messages count is coming 42+.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to combine the similar messages that is why I have used cluster count .&lt;/P&gt;&lt;P&gt;Can you guide me on the same&lt;/P&gt;</description>
    <pubDate>Tue, 15 Mar 2022 14:59:16 GMT</pubDate>
    <dc:creator>aditsss</dc:creator>
    <dc:date>2022-03-15T14:59:16Z</dc:date>
    <item>
      <title>Why is Cluster Count not working?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-Cluster-Count-not-working/m-p/589046#M205142</link>
      <description>&lt;P&gt;Hi Everyone,&lt;/P&gt;
&lt;P&gt;I have created the below query in Splunk to fetch the Error messages&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=abc ns=blazegateway-c2 CASE(ERROR)|rex field=_raw "(?&amp;lt;!LogLevel=)ERROR(?&amp;lt;Error_Message&amp;gt;.*)"|eval _time = strftime(_time,"%Y-%m-%d %H:%M:%S.%3N")| cluster showcount=t t=0.3|table app_name, Error_Message ,cluster_count,_time, environment, pod_name,ns |dedup Error_Message| rename app_name as APP_NAME, _time as Time, environment as Environment, pod_name as Pod_Name, cluster_count as Count&lt;/LI-CODE&gt;
&lt;P&gt;I observe that for particular Error message like below:&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;[reactor-http-epoll-4,cd5411f55ef5b309d8c4bc3f558e8af2,269476b43c74118e,01] reactor.core.publisher.Operators - Operator called default onErrorDropped&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Count is coming as 42.Although the Event with this Error Messages are 13 only.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I want to know is this the problem with cluster_count .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;How the cluster is working in splunk. Is my query taking cluster_count instead of actual counts.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Can someone guide me on this.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 14:26:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-Cluster-Count-not-working/m-p/589046#M205142</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2022-03-16T14:26:08Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Count Not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-Cluster-Count-not-working/m-p/589119#M205167</link>
      <description>&lt;P&gt;The &lt;FONT face="courier new,courier"&gt;cluster&lt;/FONT&gt; command uses somewhat "fuzzy" matching so non-identical events may be counted together.&amp;nbsp; To get a precise count, use the &lt;FONT face="courier new,courier"&gt;eventstats&lt;/FONT&gt; command.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;index=abc ns=blazegateway-c2 CASE(ERROR)
| rex field=_raw "(?&amp;lt;!LogLevel=)ERROR(?&amp;lt;Error_Message&amp;gt;.*)"
| eval Time = strftime(_time,"%Y-%m-%d %H:%M:%S.%3N")
| eventstats count as Count by Error_Message
| table app_name, Error_Message, Count, Time, environment, pod_name, ns 
| dedup Error_Message
| rename app_name as APP_NAME, environment as Environment, pod_name as Pod_Name&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 14:43:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-Cluster-Count-not-working/m-p/589119#M205167</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-03-15T14:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Count Not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-Cluster-Count-not-working/m-p/589123#M205169</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just want to understand why cluster count messages count is coming 42+.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to combine the similar messages that is why I have used cluster count .&lt;/P&gt;&lt;P&gt;Can you guide me on the same&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 14:59:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-Cluster-Count-not-working/m-p/589123#M205169</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2022-03-15T14:59:16Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Count Not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-Cluster-Count-not-working/m-p/589125#M205171</link>
      <description>&lt;P&gt;As I said in my first reply, the cluster command is "fuzzy".&amp;nbsp; It groups &lt;STRONG&gt;similar&lt;/STRONG&gt; events rather than &lt;STRONG&gt;identical&lt;/STRONG&gt; events.&amp;nbsp; Since we don't know the exact algorithm it uses, your count of events is likely to be different.&lt;/P&gt;&lt;P&gt;Use a higher value of &lt;FONT face="courier new,courier"&gt;t&lt;/FONT&gt; (the default is 0.8) to have the events be more similar.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Mar 2022 15:05:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-Cluster-Count-not-working/m-p/589125#M205171</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-03-15T15:05:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Count Not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-Cluster-Count-not-working/m-p/589327#M205220</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/213957"&gt;@richgalloway&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have attached the screenshot I am getting count as 361 with the below query&lt;/P&gt;&lt;P&gt;index=abc ns=blazegateway-c2 CASE(ERROR)|rex field=_raw "(?&amp;lt;!LogLevel=)ERROR(?&amp;lt;Error_Message&amp;gt;.*)"|eval _time = strftime(_time,"%Y-%m-%d %H:%M:%S.%3N")| cluster showcount=t t=0.3|table app_name, Error_Message ,cluster_count,_time, environment, pod_name,ns |dedup Error_Message| rename app_name as APP_NAME, _time as Time, environment as Environment, pod_name as Pod_Name, cluster_count as Count&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;when I am clicking on count 361 its not showing anything.&lt;/P&gt;&lt;P&gt;I want to check what are the events for 361 count.&lt;/P&gt;&lt;P&gt;Please guide me on the same.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2022 13:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-Cluster-Count-not-working/m-p/589327#M205220</guid>
      <dc:creator>aditsss</dc:creator>
      <dc:date>2022-03-16T13:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Cluster Count Not working</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Why-is-Cluster-Count-not-working/m-p/589512#M205281</link>
      <description>&lt;P&gt;I'm pretty sure you can't drill down on &lt;FONT face="courier new,courier"&gt;cluster&lt;/FONT&gt; results.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Mar 2022 12:55:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Why-is-Cluster-Count-not-working/m-p/589512#M205281</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2022-03-17T12:55:37Z</dc:date>
    </item>
  </channel>
</rss>

