<?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: chart : Total in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/chart-Total/m-p/68530#M17200</link>
    <description>&lt;P&gt;Thx very much. It works very well.&lt;/P&gt;</description>
    <pubDate>Thu, 07 Jun 2012 07:45:54 GMT</pubDate>
    <dc:creator>LauraBre</dc:creator>
    <dc:date>2012-06-07T07:45:54Z</dc:date>
    <item>
      <title>chart : Total</title>
      <link>https://community.splunk.com/t5/Splunk-Search/chart-Total/m-p/68528#M17198</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I want to create a line chart with the number of D2T, number of T2D,... On the same chart, I want to have a line "TOTAL" which is the sum of D2T,T2D... I tried to add the case &lt;CODE&gt;Service_Type="D2T" OR Service_Type="T2D" OR Service_Type="EFT", "TOTAL"&lt;/CODE&gt; in "case" but it doesn't work because if we are in one of cases, the others cases don't test.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; tag::source="TokenizerWatchdogSplunk" Service_Type="*"| eval Serie=case(Service_Type="D2T", "TOK",Service_Type="T2D", "DETOK",Service_Type="EFT", "ESTABLISHMENT") | timechart count(Service_Type) as "Number of Services" by Serie
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you know the solution of the problem, thank you by advance for your solution.&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2012 13:59:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/chart-Total/m-p/68528#M17198</guid>
      <dc:creator>LauraBre</dc:creator>
      <dc:date>2012-06-06T13:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: chart : Total</title>
      <link>https://community.splunk.com/t5/Splunk-Search/chart-Total/m-p/68529#M17199</link>
      <description>&lt;P&gt;If you pipe your search above to &lt;CODE&gt;| addtotals&lt;/CODE&gt; it will add a column with a summation of the row.  I'm assuming this is what you're looking for?&lt;/P&gt;</description>
      <pubDate>Wed, 06 Jun 2012 16:10:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/chart-Total/m-p/68529#M17199</guid>
      <dc:creator>emiller42</dc:creator>
      <dc:date>2012-06-06T16:10:45Z</dc:date>
    </item>
    <item>
      <title>Re: chart : Total</title>
      <link>https://community.splunk.com/t5/Splunk-Search/chart-Total/m-p/68530#M17200</link>
      <description>&lt;P&gt;Thx very much. It works very well.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2012 07:45:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/chart-Total/m-p/68530#M17200</guid>
      <dc:creator>LauraBre</dc:creator>
      <dc:date>2012-06-07T07:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: chart : Total</title>
      <link>https://community.splunk.com/t5/Splunk-Search/chart-Total/m-p/68531#M17201</link>
      <description>&lt;P&gt;Glad I could help!  Do you mind accepting the answer so it shows up as such for others searching for this in the future?  (Click the checkmark)&lt;/P&gt;</description>
      <pubDate>Thu, 07 Jun 2012 12:22:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/chart-Total/m-p/68531#M17201</guid>
      <dc:creator>emiller42</dc:creator>
      <dc:date>2012-06-07T12:22:57Z</dc:date>
    </item>
  </channel>
</rss>

