<?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: Duplicated  values on count in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Duplicated-values-on-count/m-p/680400#M113686</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265829"&gt;@vinihei_987&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;are yousure that in some events you have only one&amp;nbsp;&lt;SPAN&gt;Agrupamento?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;probaby they are more than one in some (or all) events, so you have a total greter than events.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Mar 2024 14:22:57 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2024-03-12T14:22:57Z</dc:date>
    <item>
      <title>Duplicated  values on count</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicated-values-on-count/m-p/680398#M113684</link>
      <description>&lt;P&gt;When I do an stats count my field it return the double of the real number&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;index=raw_fe5_autsust Aplicacao=HUB Endpoint="*/"
| eval Agrupamento=if(Agrupamento!="", Agrupamento, "AGRUPAMENTO_HOLDING/CE")
| eval Timestamp=strftime(_time, "%Y-%m-%d")
| stats count by Agrupamento, Timestamp
| sort -Timestamp&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;I already tried dedup and when I count only by Timestamp it works fine&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 15:59:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicated-values-on-count/m-p/680398#M113684</guid>
      <dc:creator>vinihei_987</dc:creator>
      <dc:date>2024-03-12T15:59:07Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicated  values on count</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicated-values-on-count/m-p/680399#M113685</link>
      <description>&lt;P&gt;It's not clear what the problem is.&amp;nbsp; Are you seeing repeated results or are the counts twice the expected values?&amp;nbsp; It may help to share sanitized output.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 14:21:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicated-values-on-count/m-p/680399#M113685</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2024-03-12T14:21:01Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicated  values on count</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicated-values-on-count/m-p/680400#M113686</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/265829"&gt;@vinihei_987&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;are yousure that in some events you have only one&amp;nbsp;&lt;SPAN&gt;Agrupamento?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;probaby they are more than one in some (or all) events, so you have a total greter than events.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ciao.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Giuseppe&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Mar 2024 14:22:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicated-values-on-count/m-p/680400#M113686</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2024-03-12T14:22:57Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicated  values on count</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Duplicated-values-on-count/m-p/680401#M113687</link>
      <description>&lt;P&gt;If&amp;nbsp;&lt;SPAN&gt;Agrupamento is a multi-value field, it will be counted for each value in the multivalue field&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults
| eval field=split("AA","")
| stats count by field _time&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 12 Mar 2024 14:24:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Duplicated-values-on-count/m-p/680401#M113687</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2024-03-12T14:24:09Z</dc:date>
    </item>
  </channel>
</rss>

