<?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: Difference between chart command with specified aggregated fields and without in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Difference-between-chart-command-with-specified-aggregated/m-p/634659#M220488</link>
    <description>&lt;P&gt;Using&amp;nbsp;&lt;STRONG&gt;count(field)&lt;/STRONG&gt; means that it will count the number of events with the field status.&lt;/P&gt;&lt;P&gt;Using count on its own will just count all events, so if all events have a status field, it's the same thing.&lt;/P&gt;&lt;P&gt;If you have some events that do NOT have a status field, then they will give different results, it is not a function of using chart at all.&lt;/P&gt;</description>
    <pubDate>Wed, 15 Mar 2023 22:50:47 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2023-03-15T22:50:47Z</dc:date>
    <item>
      <title>Difference between chart command with specified aggregated fields and without?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Difference-between-chart-command-with-specified-aggregated/m-p/634650#M220482</link>
      <description>&lt;P&gt;I have two different queries that return the absolute same result:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;value | chart count(status) by request_method, http_cloudid&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;value | chart count by request_method, http_cloudid&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does it mean that the field specified in the `count` function actually does nothing using `chart`?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Mar 2023 15:36:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Difference-between-chart-command-with-specified-aggregated/m-p/634650#M220482</guid>
      <dc:creator>calm27</dc:creator>
      <dc:date>2023-03-16T15:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Difference between chart command with specified aggregated fields and without</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Difference-between-chart-command-with-specified-aggregated/m-p/634659#M220488</link>
      <description>&lt;P&gt;Using&amp;nbsp;&lt;STRONG&gt;count(field)&lt;/STRONG&gt; means that it will count the number of events with the field status.&lt;/P&gt;&lt;P&gt;Using count on its own will just count all events, so if all events have a status field, it's the same thing.&lt;/P&gt;&lt;P&gt;If you have some events that do NOT have a status field, then they will give different results, it is not a function of using chart at all.&lt;/P&gt;</description>
      <pubDate>Wed, 15 Mar 2023 22:50:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Difference-between-chart-command-with-specified-aggregated/m-p/634659#M220488</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2023-03-15T22:50:47Z</dc:date>
    </item>
  </channel>
</rss>

