<?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 set radialGauge text value? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21438#M177355</link>
    <description>&lt;P&gt;My strong suspicion is that this isn't supported.  The description for the Radial guage is:&lt;/P&gt;

&lt;P&gt;The radialGauge, like the other gauge chart types, enables the visualization of a single &lt;STRONG&gt;numerical value&lt;/STRONG&gt; mapped against a range of colors that may have particular business meaning or logic. The radial gauge is similar in appearance to a speedometer in appearance; it has an arced range scale and a rotating needle.&lt;/P&gt;

&lt;P&gt;Also, referencing the chart legend in the developers manual:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/CustomChartingConfig-ChartLegend#radialgauge"&gt;http://www.splunk.com/base/Documentation/latest/Developer/CustomChartingConfig-ChartLegend#radialgauge&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please note that the "valueStyle" property appears to be the only one that allows for modification of the value at the bottom of the gauge...but the description specifically references that you can't use this parameter to permit setting of a text string.  &lt;/P&gt;

&lt;P&gt;"valueStyle     style&lt;TEXTBLOCK&gt;    Provides the style properties for the value at the bottom of the gauge. Note that valueStyle can be used to change the way the value displays (font, bolding, italicization, and so on.), but it can't be used to actually change the text itself. For example, you can't use valueStyle to replace the value with a specific text string.  See the textBlock table for specific defaults."&lt;/TEXTBLOCK&gt;&lt;/P&gt;

&lt;P&gt;If I locate anything that indicates that your use-case is supported, I'll definitely update this answer...but as of now, I don't believe it is.&lt;/P&gt;</description>
    <pubDate>Fri, 03 Jun 2011 20:53:34 GMT</pubDate>
    <dc:creator>cgilbert_splunk</dc:creator>
    <dc:date>2011-06-03T20:53:34Z</dc:date>
    <item>
      <title>How to set radialGauge text value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21433#M177350</link>
      <description>&lt;P&gt;How can I set a static value on a radial Gauge instead of the event count?  I have tried:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;module name="HiddenChartFormatter"&amp;gt;
    &amp;lt;param name="charting.chart"&amp;gt;radialGauge&amp;lt;/param&amp;gt;
    &amp;lt;param name="charting.valueStyle.text"&amp;gt;Access&amp;lt;/param&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jun 2011 16:52:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21433#M177350</guid>
      <dc:creator>hazekamp</dc:creator>
      <dc:date>2011-06-02T16:52:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to set radialGauge text value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21434#M177351</link>
      <description>&lt;P&gt;Do you want a static value to appear in the center of the gauge, or a static range on the radial portion?&lt;/P&gt;

&lt;P&gt;If you want the latter, you can pipe to the "gauge count" command, followed by the values you want to demarcate the gauge "colors" by.&lt;/P&gt;

&lt;P&gt;So, issuing "| gauge count 0 25 50 75 100" after your search will start the gauge at "0", then end the green area at "25", the next colored area at "50"...etc (the number of colors is determined by the number of values you use after "count"..basically, n-1) .  &lt;/P&gt;

&lt;P&gt;Now the arc of the gauge can actually have different values listed than you specified (or not)...in this case, my search will produce an arc where the increments go from 0-100 by 10s...but I've seen other behavior based on the number of parameters you use and other factors.&lt;/P&gt;

&lt;P&gt;Now, if you want to have a static value appear in the CENTER of the gauge, I think you can just change the value of the count using eval...something like this: "| eval count = 1000"&lt;/P&gt;

&lt;P&gt;Hopefully either of these answered your question.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2011 05:29:36 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21434#M177351</guid>
      <dc:creator>cgilbert_splunk</dc:creator>
      <dc:date>2011-06-03T05:29:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to set radialGauge text value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21435#M177352</link>
      <description>&lt;P&gt;cgilbert.  I was looking to perform the latter.  I tried the | eval x="MyString" to set the x-axis statically, but the radial displays 0 instead.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2011 19:13:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21435#M177352</guid>
      <dc:creator>hazekamp</dc:creator>
      <dc:date>2011-06-03T19:13:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to set radialGauge text value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21436#M177353</link>
      <description>&lt;P&gt;What does your search look like?  Here's mine:&lt;/P&gt;

&lt;P&gt;search = * | head 1 | eval count = 32 | gauge count 0 25 50 75 100&lt;/P&gt;

&lt;P&gt;What I get is a radial gauge with 0-100 in increments of 10...with "32" in the middle of the gauge and the hand pointing to where 32 would be on the gauge.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2011 19:20:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21436#M177353</guid>
      <dc:creator>cgilbert_splunk</dc:creator>
      <dc:date>2011-06-03T19:20:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to set radialGauge text value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21437#M177354</link>
      <description>&lt;P&gt;Agreed.  I want it do display static text i.e a label, not a #.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2011 19:46:13 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21437#M177354</guid>
      <dc:creator>hazekamp</dc:creator>
      <dc:date>2011-06-03T19:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to set radialGauge text value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21438#M177355</link>
      <description>&lt;P&gt;My strong suspicion is that this isn't supported.  The description for the Radial guage is:&lt;/P&gt;

&lt;P&gt;The radialGauge, like the other gauge chart types, enables the visualization of a single &lt;STRONG&gt;numerical value&lt;/STRONG&gt; mapped against a range of colors that may have particular business meaning or logic. The radial gauge is similar in appearance to a speedometer in appearance; it has an arced range scale and a rotating needle.&lt;/P&gt;

&lt;P&gt;Also, referencing the chart legend in the developers manual:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.splunk.com/base/Documentation/latest/Developer/CustomChartingConfig-ChartLegend#radialgauge"&gt;http://www.splunk.com/base/Documentation/latest/Developer/CustomChartingConfig-ChartLegend#radialgauge&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Please note that the "valueStyle" property appears to be the only one that allows for modification of the value at the bottom of the gauge...but the description specifically references that you can't use this parameter to permit setting of a text string.  &lt;/P&gt;

&lt;P&gt;"valueStyle     style&lt;TEXTBLOCK&gt;    Provides the style properties for the value at the bottom of the gauge. Note that valueStyle can be used to change the way the value displays (font, bolding, italicization, and so on.), but it can't be used to actually change the text itself. For example, you can't use valueStyle to replace the value with a specific text string.  See the textBlock table for specific defaults."&lt;/TEXTBLOCK&gt;&lt;/P&gt;

&lt;P&gt;If I locate anything that indicates that your use-case is supported, I'll definitely update this answer...but as of now, I don't believe it is.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2011 20:53:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21438#M177355</guid>
      <dc:creator>cgilbert_splunk</dc:creator>
      <dc:date>2011-06-03T20:53:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to set radialGauge text value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21439#M177356</link>
      <description>&lt;P&gt;That's correct - not supported.  The note in the dev manual was actually just added yesterday in response to an email conversation about this post.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jun 2011 22:20:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-set-radialGauge-text-value/m-p/21439#M177356</guid>
      <dc:creator>jgatt</dc:creator>
      <dc:date>2011-06-03T22:20:03Z</dc:date>
    </item>
  </channel>
</rss>

