<?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: Adding column total in new row in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Adding-column-total-in-new-row/m-p/172747#M49535</link>
    <description>&lt;P&gt;Try | addcolTotals&lt;/P&gt;</description>
    <pubDate>Thu, 25 Sep 2014 19:44:26 GMT</pubDate>
    <dc:creator>ViniciusANT</dc:creator>
    <dc:date>2014-09-25T19:44:26Z</dc:date>
    <item>
      <title>Adding column total in new row</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-column-total-in-new-row/m-p/172742#M49530</link>
      <description>&lt;P&gt;Hi, &lt;BR /&gt;
I have a data set like &lt;/P&gt;

&lt;P&gt;Col A   Col B&lt;BR /&gt;
Time     5&lt;BR /&gt;
Time     5&lt;BR /&gt;
.&lt;BR /&gt;
.&lt;/P&gt;

&lt;P&gt;I want a new row with the total of Column B, something like &lt;/P&gt;

&lt;P&gt;Col A  Col B&lt;BR /&gt;
Time    5&lt;BR /&gt;
Time    5&lt;BR /&gt;
Total   10&lt;/P&gt;

&lt;P&gt;i know we can use addcoltotals but that adds a new column label. &lt;BR /&gt;
Some input appreciated.&lt;BR /&gt;
Thanks &lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 21:36:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-column-total-in-new-row/m-p/172742#M49530</guid>
      <dc:creator>dutabhis07</dc:creator>
      <dc:date>2014-03-03T21:36:36Z</dc:date>
    </item>
    <item>
      <title>Re: Adding column total in new row</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-column-total-in-new-row/m-p/172743#M49531</link>
      <description>&lt;P&gt;yeah .. tried that as well .. but that too gives output something like &lt;/P&gt;

&lt;P&gt;Col A  Col B&lt;BR /&gt;
Time    5&lt;BR /&gt;
Time    5&lt;BR /&gt;
        10&lt;/P&gt;

&lt;P&gt;I need to show the Total Alias in the last row&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 21:45:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-column-total-in-new-row/m-p/172743#M49531</guid>
      <dc:creator>dutabhis07</dc:creator>
      <dc:date>2014-03-03T21:45:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding column total in new row</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-column-total-in-new-row/m-p/172744#M49532</link>
      <description>&lt;P&gt;Take a look at the following. I am filling in the word Total in the endhuman column at the end.&lt;/P&gt;

&lt;P&gt;|gentimes start=-2 |fillnull value="blank" endhuman|addcoltotals|fillnull value="Total" endhuman|table endhuman,starttime,endtime,starthuman&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 21:51:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-column-total-in-new-row/m-p/172744#M49532</guid>
      <dc:creator>reed_kelly</dc:creator>
      <dc:date>2014-03-03T21:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding column total in new row</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-column-total-in-new-row/m-p/172745#M49533</link>
      <description>&lt;P&gt;Thanks Reed ... That worked ... &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 21:58:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-column-total-in-new-row/m-p/172745#M49533</guid>
      <dc:creator>dutabhis07</dc:creator>
      <dc:date>2014-03-03T21:58:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding column total in new row</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-column-total-in-new-row/m-p/172746#M49534</link>
      <description>&lt;P&gt;Another way to get a column total, but it will be for each lines.&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&amp;lt;mysearch&amp;gt; | table colA colB | eventstats sum(colB) AS total&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2014 22:26:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-column-total-in-new-row/m-p/172746#M49534</guid>
      <dc:creator>yannK</dc:creator>
      <dc:date>2014-03-03T22:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Adding column total in new row</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Adding-column-total-in-new-row/m-p/172747#M49535</link>
      <description>&lt;P&gt;Try | addcolTotals&lt;/P&gt;</description>
      <pubDate>Thu, 25 Sep 2014 19:44:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Adding-column-total-in-new-row/m-p/172747#M49535</guid>
      <dc:creator>ViniciusANT</dc:creator>
      <dc:date>2014-09-25T19:44:26Z</dc:date>
    </item>
  </channel>
</rss>

