<?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: compare option in single value in splunk 6.3 in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/compare-option-in-single-value-in-splunk-6-3/m-p/252464#M15725</link>
    <description>&lt;P&gt;thanks krdo.:)&lt;/P&gt;</description>
    <pubDate>Fri, 11 Dec 2015 05:43:25 GMT</pubDate>
    <dc:creator>ektasiwani</dc:creator>
    <dc:date>2015-12-11T05:43:25Z</dc:date>
    <item>
      <title>compare option in single value in splunk 6.3</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/compare-option-in-single-value-in-splunk-6-3/m-p/252462#M15723</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I upgraded my splunk to 6.3.&lt;BR /&gt;
I am working with single value option of splunk.&lt;BR /&gt;
In single value we have "compare to" option to create trend using timechart.&lt;BR /&gt;
I just want to know how custom option of compare to works.&lt;BR /&gt;
I tried searching some document which can explain me this but not able to find.&lt;BR /&gt;
It will be helpful if anyone can help me with this.&lt;/P&gt;

&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 28 Nov 2015 15:56:42 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/compare-option-in-single-value-in-splunk-6-3/m-p/252462#M15723</guid>
      <dc:creator>ektasiwani</dc:creator>
      <dc:date>2015-11-28T15:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: compare option in single value in splunk 6.3</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/compare-option-in-single-value-in-splunk-6-3/m-p/252463#M15724</link>
      <description>&lt;P&gt;I had the same problem. Best documentation i could find was &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Viz/PanelreferenceforSimplifiedXML"&gt;Simple XML Reference&lt;/A&gt; (search for &lt;CODE&gt;trendInterval&lt;/CODE&gt;). I figured it out using the following query:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| gentimes start=12/09/2015 end=12/10/2015 increment=1h
| streamstats count as n
| eval n=n*n
| eval _time=starttime
| fields _time n
| timechart span=1h sum(n) as count
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This query simply generates testdata.&lt;/P&gt;

&lt;P&gt;Set the time range for the search to (12/09/2015 00:00:00 to 12/09/2015 24:00:00).&lt;BR /&gt;
Now try changing &lt;EM&gt;Compared to&lt;/EM&gt; to &lt;EM&gt;Custom&lt;/EM&gt; &lt;EM&gt;3 Hours&lt;/EM&gt;. The trend compares the last value in the result (&lt;EM&gt;576&lt;/EM&gt;) to the value 3 hours before the last value (&lt;EM&gt;441&lt;/EM&gt;) resulting in a value of &lt;EM&gt;576&lt;/EM&gt;-&lt;EM&gt;441&lt;/EM&gt;=&lt;STRONG&gt;135&lt;/STRONG&gt; or (&lt;EM&gt;576&lt;/EM&gt;-&lt;EM&gt;441&lt;/EM&gt;)/&lt;EM&gt;441&lt;/EM&gt;=&lt;STRONG&gt;30.6%&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Dec 2015 13:54:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/compare-option-in-single-value-in-splunk-6-3/m-p/252463#M15724</guid>
      <dc:creator>krdo</dc:creator>
      <dc:date>2015-12-10T13:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: compare option in single value in splunk 6.3</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/compare-option-in-single-value-in-splunk-6-3/m-p/252464#M15725</link>
      <description>&lt;P&gt;thanks krdo.:)&lt;/P&gt;</description>
      <pubDate>Fri, 11 Dec 2015 05:43:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/compare-option-in-single-value-in-splunk-6-3/m-p/252464#M15725</guid>
      <dc:creator>ektasiwani</dc:creator>
      <dc:date>2015-12-11T05:43:25Z</dc:date>
    </item>
  </channel>
</rss>

