<?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 Add values together for report in Reporting</title>
    <link>https://community.splunk.com/t5/Reporting/Add-values-together-for-report/m-p/77590#M1781</link>
    <description>&lt;P&gt;I have a SYSLOG output from a netscreen.   There are two fields in each record that contain a value (sent) and (rcvd).  I have enclosed an example below.  I want to create a bar chart that will show the sum of these two values for the top ten IP addresses in (dst)&lt;/P&gt;

&lt;P&gt;I have tried various syntaxes in the report command pipe * | timechart sum(sent) by dst &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;| timechart sum(sent+rcvd) by dst&lt;/LI&gt;
&lt;LI&gt;| timechart sum((sent)+(rcvd)) by dst&lt;/LI&gt;
&lt;LI&gt;| timechart sum((sum(sent)+(sum(rcvd)) by dst&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;But clearly I am missing something in the syntax&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;P&gt;ssg5-serial: NetScreen
  device_id=0162102007000604 
  [Root]system-notification-00257(traffic):
  start_time="2010-10-26 11:34:30"
  duration=4 policy_id=6 service=icmp
  proto=1 src zone=Untrust dst
  zone=Trust action=Permit sent=78
  rcvd=78 src=212.21.121.89
  dst=212.21.101.193 icmp type=8
  src-xlated ip=212.21.121.89 dst-xlated
  ip=212.21.101.193 session_id=2607
  reason=Close - RESP\x00&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Tue, 26 Oct 2010 17:47:18 GMT</pubDate>
    <dc:creator>Dragonnet</dc:creator>
    <dc:date>2010-10-26T17:47:18Z</dc:date>
    <item>
      <title>Add values together for report</title>
      <link>https://community.splunk.com/t5/Reporting/Add-values-together-for-report/m-p/77590#M1781</link>
      <description>&lt;P&gt;I have a SYSLOG output from a netscreen.   There are two fields in each record that contain a value (sent) and (rcvd).  I have enclosed an example below.  I want to create a bar chart that will show the sum of these two values for the top ten IP addresses in (dst)&lt;/P&gt;

&lt;P&gt;I have tried various syntaxes in the report command pipe * | timechart sum(sent) by dst &lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;| timechart sum(sent+rcvd) by dst&lt;/LI&gt;
&lt;LI&gt;| timechart sum((sent)+(rcvd)) by dst&lt;/LI&gt;
&lt;LI&gt;| timechart sum((sum(sent)+(sum(rcvd)) by dst&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;But clearly I am missing something in the syntax&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
  &lt;P&gt;ssg5-serial: NetScreen
  device_id=0162102007000604 
  [Root]system-notification-00257(traffic):
  start_time="2010-10-26 11:34:30"
  duration=4 policy_id=6 service=icmp
  proto=1 src zone=Untrust dst
  zone=Trust action=Permit sent=78
  rcvd=78 src=212.21.121.89
  dst=212.21.101.193 icmp type=8
  src-xlated ip=212.21.121.89 dst-xlated
  ip=212.21.101.193 session_id=2607
  reason=Close - RESP\x00&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Tue, 26 Oct 2010 17:47:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Add-values-together-for-report/m-p/77590#M1781</guid>
      <dc:creator>Dragonnet</dc:creator>
      <dc:date>2010-10-26T17:47:18Z</dc:date>
    </item>
    <item>
      <title>Re: Add values together for report</title>
      <link>https://community.splunk.com/t5/Reporting/Add-values-together-for-report/m-p/77591#M1782</link>
      <description>&lt;P&gt;One way...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; ... | timechart eval(sum(sent)+sum(rcvd)) by dst
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 26 Oct 2010 18:11:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Reporting/Add-values-together-for-report/m-p/77591#M1782</guid>
      <dc:creator>bwooden</dc:creator>
      <dc:date>2010-10-26T18:11:52Z</dc:date>
    </item>
  </channel>
</rss>

