<?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: stats/chart Only Summing Cells with Multiple Values in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/stats-chart-Only-Summing-Cells-with-Multiple-Values/m-p/197385#M57036</link>
    <description>&lt;P&gt;First, your chart is a bit unclear to me - it doesn't look like you have any Process Z values.&lt;BR /&gt;&lt;BR /&gt;
In addition, it looks like all events only have one value per field or else they are empty.&lt;/P&gt;

&lt;P&gt;Does Splunk even think that these fields are numeric? If you simply run a search, do the fields appear in the fields sidebar at the left - or in the the list if you choose all fields?&lt;/P&gt;

&lt;P&gt;I would do some exploration of your field values. There is nothing wrong with your &lt;CODE&gt;stats&lt;/CODE&gt; command - except for the fact that you wrote &lt;CODE&gt;process z&lt;/CODE&gt; instead of &lt;CODE&gt;process_z&lt;/CODE&gt;.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jun 2014 18:10:48 GMT</pubDate>
    <dc:creator>lguinn2</dc:creator>
    <dc:date>2014-06-12T18:10:48Z</dc:date>
    <item>
      <title>stats/chart Only Summing Cells with Multiple Values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stats-chart-Only-Summing-Cells-with-Multiple-Values/m-p/197384#M57035</link>
      <description>&lt;P&gt;If I have fields that have the potential to contain any number of values, from null to many, how can I get the sum function to work on all cases using stats or chart?&lt;/P&gt;

&lt;P&gt;For example:&lt;/P&gt;

&lt;P&gt;CaseID        Process X Time     Process Y time     Process Z time&lt;BR /&gt;
1                                                          .24&lt;BR /&gt;
1                     .65&lt;BR /&gt;
                     1.54&lt;BR /&gt;
1                                       .45&lt;BR /&gt;
1                                                           .66&lt;BR /&gt;
                                                            1.5&lt;BR /&gt;
2                     .56&lt;BR /&gt;
2                                        .23&lt;BR /&gt;
                                         .99&lt;BR /&gt;
                                         1.87&lt;BR /&gt;
2                                                           1.2&lt;BR /&gt;
2                     2.5&lt;/P&gt;

&lt;P&gt;When i use "... | stats sum(process_x), sum(process_y), sum(process z) by caseID&lt;/P&gt;

&lt;P&gt;it only sums the cells that have multiple values, not the cells that only contain a single value.  Any misconception or misconstruction I'm running into here?&lt;/P&gt;

&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 28 Sep 2020 16:50:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stats-chart-Only-Summing-Cells-with-Multiple-Values/m-p/197384#M57035</guid>
      <dc:creator>Rushingjs</dc:creator>
      <dc:date>2020-09-28T16:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: stats/chart Only Summing Cells with Multiple Values</title>
      <link>https://community.splunk.com/t5/Splunk-Search/stats-chart-Only-Summing-Cells-with-Multiple-Values/m-p/197385#M57036</link>
      <description>&lt;P&gt;First, your chart is a bit unclear to me - it doesn't look like you have any Process Z values.&lt;BR /&gt;&lt;BR /&gt;
In addition, it looks like all events only have one value per field or else they are empty.&lt;/P&gt;

&lt;P&gt;Does Splunk even think that these fields are numeric? If you simply run a search, do the fields appear in the fields sidebar at the left - or in the the list if you choose all fields?&lt;/P&gt;

&lt;P&gt;I would do some exploration of your field values. There is nothing wrong with your &lt;CODE&gt;stats&lt;/CODE&gt; command - except for the fact that you wrote &lt;CODE&gt;process z&lt;/CODE&gt; instead of &lt;CODE&gt;process_z&lt;/CODE&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jun 2014 18:10:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/stats-chart-Only-Summing-Cells-with-Multiple-Values/m-p/197385#M57036</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2014-06-12T18:10:48Z</dc:date>
    </item>
  </channel>
</rss>

