<?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 can I control a Radial Guage's range values with result values? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241006#M14956</link>
    <description>&lt;P&gt;I see the doc for it now.  &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.0/SearchReference/Gauge"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.0/SearchReference/Gauge&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 10 Oct 2016 18:40:20 GMT</pubDate>
    <dc:creator>ScottSusman</dc:creator>
    <dc:date>2016-10-10T18:40:20Z</dc:date>
    <item>
      <title>How can I control a Radial Guage's range values with result values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241001#M14951</link>
      <description>&lt;P&gt;I would like to see if something (ie, number of transactions/hour) is within an expected range.  I have a search that returns a single row with the fields Recent, High, Low.&lt;BR /&gt;
I am trying to visualize this with a Radial Gauge, but am having trouble getting the range values set correctly.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;chart&amp;gt;
    &amp;lt;search&amp;gt;
      &amp;lt;query&amp;gt;... | fields Recent, High, Low&amp;lt;/query&amp;gt;
      &amp;lt;done&amp;gt;
        &amp;lt;set token="lowThreshold"&amp;gt;$result.Low$&amp;lt;/set&amp;gt;
        &amp;lt;set token="highThreshold"&amp;gt;($result.High$&amp;lt;/set&amp;gt;
        &amp;lt;set token="max"&amp;gt;eval(round(result.High$ * 1.2), 0)&amp;lt;/set&amp;gt;
      &amp;lt;/done&amp;gt;
    &amp;lt;/search&amp;gt;
    &amp;lt;option name="charting.chart"&amp;gt;radialGauge&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.style"&amp;gt;minimal&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.chart.rangeValues"&amp;gt;[0,$lowThreshold$,$highThreshold$,$max$]&amp;lt;/option&amp;gt;
    &amp;lt;option name="charting.gaugeColors"&amp;gt;["0xBF3030","0x7e9f44","0xBF3030"]&amp;lt;/option&amp;gt;
  &amp;lt;/chart&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This keeps ignoring the token settings and using the defaults of 0, 30, 70, 100.  What do I need to change to use my ranges instead of the default ones?&lt;/P&gt;

&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2016 15:42:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241001#M14951</guid>
      <dc:creator>ScottSusman</dc:creator>
      <dc:date>2016-10-10T15:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control a Radial Guage's range values with result values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241002#M14952</link>
      <description>&lt;P&gt;Try this in your query...&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;query&amp;gt;... | gauge Recent, Low, High&amp;lt;/query&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 10 Oct 2016 16:44:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241002#M14952</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-10-10T16:44:12Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control a Radial Guage's range values with result values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241003#M14953</link>
      <description>&lt;P&gt;That changed my result from Recent, High, Low to x, y1, y2 but the gauge looks the same.&lt;BR /&gt;
Interestingly, the gauge first displayed it looked (almost) right...for a second.  And then flashed back to the defaults.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2016 17:27:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241003#M14953</guid>
      <dc:creator>ScottSusman</dc:creator>
      <dc:date>2016-10-10T17:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control a Radial Guage's range values with result values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241004#M14954</link>
      <description>&lt;P&gt;If you're setting the gauge in the search itself, get rid of &lt;CODE&gt;charting.chart.rangeValues&lt;/CODE&gt;. &lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2016 18:00:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241004#M14954</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-10-10T18:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control a Radial Guage's range values with result values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241005#M14955</link>
      <description>&lt;P&gt;Huzzah!  That works!  Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2016 18:38:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241005#M14955</guid>
      <dc:creator>ScottSusman</dc:creator>
      <dc:date>2016-10-10T18:38:23Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control a Radial Guage's range values with result values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241006#M14956</link>
      <description>&lt;P&gt;I see the doc for it now.  &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.0/SearchReference/Gauge"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.0/SearchReference/Gauge&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Oct 2016 18:40:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241006#M14956</guid>
      <dc:creator>ScottSusman</dc:creator>
      <dc:date>2016-10-10T18:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I control a Radial Guage's range values with result values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241007#M14957</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;just a short note here:&lt;/P&gt;

&lt;P&gt;did you recognize the extra "(" in  ($result.High$  in line 6?&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2019 03:48:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-control-a-Radial-Guage-s-range-values-with-result/m-p/241007#M14957</guid>
      <dc:creator>casties</dc:creator>
      <dc:date>2019-11-11T03:48:22Z</dc:date>
    </item>
  </channel>
</rss>

