<?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 display Total Count inside a Chart in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-Total-Count-inside-a-Chart/m-p/249855#M74562</link>
    <description>&lt;P&gt;If you're using Splunk 6.3+ version, they try something like this (see the token setting in &lt;CODE&gt;&amp;lt;done&amp;gt;&lt;/CODE&gt; tag and usage in panel title)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  ......
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;Total Results: $resultcount$&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;sourcetype=syslog AND host="xxx.xxx.xxx.xxx" AND mpkg | stats count by username, operation | sort count&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;done&amp;gt;
          &amp;lt;eval token="resultcount"&amp;gt;$job.resultCount$&amp;lt;/eval&amp;gt;
        &amp;lt;/done&amp;gt;
        &amp;lt;/search&amp;gt;
      ........
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
.......
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 10 Oct 2016 18:40:22 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-10-10T18:40:22Z</dc:date>
    <item>
      <title>How to display Total Count inside a Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-Total-Count-inside-a-Chart/m-p/249854#M74561</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a search like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype=syslog AND host="xxx.xxx.xxx.xxx" AND mpkg | stats count by username, operation | sort count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This gives me a nice graph, which I've added to a Dashboard:&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/2006i2E3448F659CFFF8D/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;However, I would love to get a total count of the Downloads operation be displayed inside the graph, like a Legend of sorts, which will show total downloads were e.g. "157 events" (the count of matches as displayed by the Search view).&lt;/P&gt;

&lt;P&gt;How can I do that?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;BR /&gt;
Virgil&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2016 17:18:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-Total-Count-inside-a-Chart/m-p/249854#M74561</guid>
      <dc:creator>virgilg</dc:creator>
      <dc:date>2016-10-10T17:18:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Total Count inside a Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-Total-Count-inside-a-Chart/m-p/249855#M74562</link>
      <description>&lt;P&gt;If you're using Splunk 6.3+ version, they try something like this (see the token setting in &lt;CODE&gt;&amp;lt;done&amp;gt;&lt;/CODE&gt; tag and usage in panel title)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;form&amp;gt;
  ......
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;title&amp;gt;Total Results: $resultcount$&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;sourcetype=syslog AND host="xxx.xxx.xxx.xxx" AND mpkg | stats count by username, operation | sort count&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-15m&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
        &amp;lt;done&amp;gt;
          &amp;lt;eval token="resultcount"&amp;gt;$job.resultCount$&amp;lt;/eval&amp;gt;
        &amp;lt;/done&amp;gt;
        &amp;lt;/search&amp;gt;
      ........
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
.......
&amp;lt;/form&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Oct 2016 18:40:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-Total-Count-inside-a-Chart/m-p/249855#M74562</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-10-10T18:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to display Total Count inside a Chart</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-display-Total-Count-inside-a-Chart/m-p/249856#M74563</link>
      <description>&lt;P&gt;This idea worked for me, thanks somesoni2&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2017 15:18:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-display-Total-Count-inside-a-Chart/m-p/249856#M74563</guid>
      <dc:creator>vravisplunker</dc:creator>
      <dc:date>2017-09-19T15:18:13Z</dc:date>
    </item>
  </channel>
</rss>

