<?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: Summing the row in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Summing-the-row/m-p/126354#M184339</link>
    <description>&lt;P&gt;The same but with both fields in the by:&lt;BR /&gt;
...| eventstats sum(ColumnB) as Total by Site, ConfigID | ...&lt;/P&gt;</description>
    <pubDate>Mon, 27 Jan 2014 10:46:10 GMT</pubDate>
    <dc:creator>gfuente</dc:creator>
    <dc:date>2014-01-27T10:46:10Z</dc:date>
    <item>
      <title>Summing the row</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Summing-the-row/m-p/126351#M184336</link>
      <description>&lt;P&gt;Colum A                 Column B&lt;BR /&gt;
1                         1&lt;BR /&gt;
2                         2&lt;BR /&gt;
2                         3&lt;BR /&gt;
2                         4 &lt;BR /&gt;
5                         5&lt;/P&gt;

&lt;P&gt;I wanted to sum columnB but on condition. Below is the example&lt;/P&gt;

&lt;P&gt;(Column A) - 1    (Sum of Column B) 1&lt;BR /&gt;
(Column A) - 2    (Sum of Column B) 2 + 3 + 4 = 9&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 08:41:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Summing-the-row/m-p/126351#M184336</guid>
      <dc:creator>vinay_ks04</dc:creator>
      <dc:date>2014-01-27T08:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: Summing the row</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Summing-the-row/m-p/126352#M184337</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I think you can use eventstats like:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;...| eventstats sum(ColumnB) as Total by ColumnA | ...
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Try it and let me know&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 09:15:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Summing-the-row/m-p/126352#M184337</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2014-01-27T09:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Summing the row</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Summing-the-row/m-p/126353#M184338</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;

&lt;P&gt;I have used for my another column.&lt;/P&gt;

&lt;P&gt;there are three columns&lt;/P&gt;

&lt;P&gt;Site   ConfigID  TaskCount&lt;BR /&gt;
BAN      1         1&lt;BR /&gt;
         2         2&lt;BR /&gt;
         3         4&lt;BR /&gt;
         5         5&lt;BR /&gt;
MYS      1         1&lt;BR /&gt;
         1         2&lt;BR /&gt;
         3         4&lt;BR /&gt;
         4         5&lt;BR /&gt;
         4         6&lt;/P&gt;

&lt;P&gt;I have used your menthod for consolidating with site wise.&lt;BR /&gt;
Kindly let me know for summing of taskcounts of same configids.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 10:30:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Summing-the-row/m-p/126353#M184338</guid>
      <dc:creator>vinay_ks04</dc:creator>
      <dc:date>2014-01-27T10:30:04Z</dc:date>
    </item>
    <item>
      <title>Re: Summing the row</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Summing-the-row/m-p/126354#M184339</link>
      <description>&lt;P&gt;The same but with both fields in the by:&lt;BR /&gt;
...| eventstats sum(ColumnB) as Total by Site, ConfigID | ...&lt;/P&gt;</description>
      <pubDate>Mon, 27 Jan 2014 10:46:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Summing-the-row/m-p/126354#M184339</guid>
      <dc:creator>gfuente</dc:creator>
      <dc:date>2014-01-27T10:46:10Z</dc:date>
    </item>
  </channel>
</rss>

