<?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 Single value visualisation and trend value in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Single-value-visualisation-and-trend-value/m-p/271878#M81823</link>
    <description>&lt;P&gt;I have db queries running every 5 minutes each logging a record of multiple fields and values. I have the following single value panel defined:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;single&amp;gt;
        &amp;lt;title&amp;gt;Entered&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=db_index| regex source="db_prod/.*entered.*" | timechart span=5m dc(id)&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
          &amp;lt;refresh&amp;gt;3m&amp;lt;/refresh&amp;gt;
          &amp;lt;refreshType&amp;gt;delay&amp;lt;/refreshType&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="colorBy"&amp;gt;trend&amp;lt;/option&amp;gt;
        &amp;lt;option name="colorMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;option name="numberPrecision"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x65a637","0x6db7c6","0xf7bc38","0xf58f39","0xd93f3c"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeValues"&amp;gt;[0,30,70,100]&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.time.visible"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="showSparkline"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="showTrendIndicator"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendColorInterpretation"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendDisplayMode"&amp;gt;absolute&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendInterval"&amp;gt;-1h&amp;lt;/option&amp;gt;
        &amp;lt;option name="underLabel"&amp;gt;Compared to Previous Hour&amp;lt;/option&amp;gt;
        &amp;lt;option name="useColors"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="useThousandSeparators"&amp;gt;1&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Looking at the values displayed in the panel, I'm having difficulty understanding how the single value and the displayed trend are being calculated. The questions I have are:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;With the declared search and associated parameters which data point/points are picked to compute the single value?&lt;/LI&gt;
&lt;LI&gt;Which data points are used to compute the trend value?&lt;/LI&gt;
&lt;/OL&gt;</description>
    <pubDate>Tue, 31 Jan 2017 22:59:21 GMT</pubDate>
    <dc:creator>smacphillamy</dc:creator>
    <dc:date>2017-01-31T22:59:21Z</dc:date>
    <item>
      <title>Single value visualisation and trend value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-value-visualisation-and-trend-value/m-p/271878#M81823</link>
      <description>&lt;P&gt;I have db queries running every 5 minutes each logging a record of multiple fields and values. I have the following single value panel defined:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;single&amp;gt;
        &amp;lt;title&amp;gt;Entered&amp;lt;/title&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index=db_index| regex source="db_prod/.*entered.*" | timechart span=5m dc(id)&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;
          &amp;lt;refresh&amp;gt;3m&amp;lt;/refresh&amp;gt;
          &amp;lt;refreshType&amp;gt;delay&amp;lt;/refreshType&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="colorBy"&amp;gt;trend&amp;lt;/option&amp;gt;
        &amp;lt;option name="colorMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;all&amp;lt;/option&amp;gt;
        &amp;lt;option name="numberPrecision"&amp;gt;0&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeColors"&amp;gt;["0x65a637","0x6db7c6","0xf7bc38","0xf58f39","0xd93f3c"]&amp;lt;/option&amp;gt;
        &amp;lt;option name="rangeValues"&amp;gt;[0,30,70,100]&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.time.visible"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="showSparkline"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="showTrendIndicator"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendColorInterpretation"&amp;gt;standard&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendDisplayMode"&amp;gt;absolute&amp;lt;/option&amp;gt;
        &amp;lt;option name="trendInterval"&amp;gt;-1h&amp;lt;/option&amp;gt;
        &amp;lt;option name="underLabel"&amp;gt;Compared to Previous Hour&amp;lt;/option&amp;gt;
        &amp;lt;option name="useColors"&amp;gt;1&amp;lt;/option&amp;gt;
        &amp;lt;option name="useThousandSeparators"&amp;gt;1&amp;lt;/option&amp;gt;
      &amp;lt;/single&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Looking at the values displayed in the panel, I'm having difficulty understanding how the single value and the displayed trend are being calculated. The questions I have are:&lt;/P&gt;

&lt;OL&gt;
&lt;LI&gt;With the declared search and associated parameters which data point/points are picked to compute the single value?&lt;/LI&gt;
&lt;LI&gt;Which data points are used to compute the trend value?&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Tue, 31 Jan 2017 22:59:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-value-visualisation-and-trend-value/m-p/271878#M81823</guid>
      <dc:creator>smacphillamy</dc:creator>
      <dc:date>2017-01-31T22:59:21Z</dc:date>
    </item>
    <item>
      <title>Re: Single value visualisation and trend value</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Single-value-visualisation-and-trend-value/m-p/271879#M81824</link>
      <description>&lt;P&gt;The search is returning the distinct count of ids - dc(id) - in each 5 minute period - span=5m.&lt;/P&gt;

&lt;P&gt;The trend will be displayed as the number itself rather than percentage (absolute) , with up trends being colored as good (standard)  and the prior point in the trend being the point 1 hour previously.&lt;/P&gt;

&lt;P&gt;Here's a good example by kkrdo, complete with a test data generator you can play with.  After you play around a bit, you can then port the knowledge back to your real data - &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/330293/compare-option-in-single-value-in-splunk-63.html"&gt;https://answers.splunk.com/answers/330293/compare-option-in-single-value-in-splunk-63.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;If you find his example helps you, then please upvote him.&lt;/P&gt;</description>
      <pubDate>Wed, 01 Feb 2017 02:02:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Single-value-visualisation-and-trend-value/m-p/271879#M81824</guid>
      <dc:creator>DalJeanis</dc:creator>
      <dc:date>2017-02-01T02:02:11Z</dc:date>
    </item>
  </channel>
</rss>

