<?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: How to sum multiple individual columns into a flat row in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-sum-multiple-individual-columns-into-a-flat-row/m-p/466698#M131386</link>
    <description>&lt;P&gt;You can use &lt;CODE&gt;addtotals&lt;/CODE&gt; to sum the column values like this &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| addtotals fieldname=sum&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.1/SearchReference/Addtotals"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.1/SearchReference/Addtotals&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Feb 2020 19:54:20 GMT</pubDate>
    <dc:creator>skoelpin</dc:creator>
    <dc:date>2020-02-13T19:54:20Z</dc:date>
    <item>
      <title>How to sum multiple individual columns into a flat row</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-sum-multiple-individual-columns-into-a-flat-row/m-p/466696#M131384</link>
      <description>&lt;P&gt;I have a search that based on a lookup that is pulling names and totals over the course of a 24 hour period or week based on time.  How can I sum each column without having to sum every field individually?&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;cdr_events&lt;/CODE&gt;      duration&amp;gt;0 &lt;BR /&gt;
( (callingPartyGroup="00581" OR originalCalledPartyGroup="00581" OR finalCalledPartyGroup="00581") )&lt;BR /&gt;&lt;BR /&gt;
| &lt;CODE&gt;calculate_all_internal_parties&lt;/CODE&gt;&lt;BR /&gt;
| lookup groups number as number output name group subgroup&lt;BR /&gt;
| search ( group="00581" )&lt;BR /&gt;
| timechart dc(callId) by name&lt;/P&gt;

&lt;P&gt;I could get it by running a | sum("Tony Freeman") as "Tony Freeman" sum("Andrea Cook" as "Andrea Cook"  etc etc but is there an easier way to do that?&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 18:54:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-sum-multiple-individual-columns-into-a-flat-row/m-p/466696#M131384</guid>
      <dc:creator>eric_delac</dc:creator>
      <dc:date>2020-02-13T18:54:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum multiple individual columns into a flat row</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-sum-multiple-individual-columns-into-a-flat-row/m-p/466697#M131385</link>
      <description>&lt;P&gt;&lt;IMG src="https://imgur.com/a/IOiBrmC" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 18:59:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-sum-multiple-individual-columns-into-a-flat-row/m-p/466697#M131385</guid>
      <dc:creator>eric_delac</dc:creator>
      <dc:date>2020-02-13T18:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to sum multiple individual columns into a flat row</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-sum-multiple-individual-columns-into-a-flat-row/m-p/466698#M131386</link>
      <description>&lt;P&gt;You can use &lt;CODE&gt;addtotals&lt;/CODE&gt; to sum the column values like this &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;| addtotals fieldname=sum&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.0.1/SearchReference/Addtotals"&gt;https://docs.splunk.com/Documentation/Splunk/8.0.1/SearchReference/Addtotals&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Feb 2020 19:54:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-sum-multiple-individual-columns-into-a-flat-row/m-p/466698#M131386</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2020-02-13T19:54:20Z</dc:date>
    </item>
  </channel>
</rss>

