<?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 do I change the font color in a chart depending on a value? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-font-color-in-a-chart-depending-on-a-value/m-p/435210#M124118</link>
    <description>&lt;P&gt;@jmauritz is this for Table visualization or Chart? What does your current visualization look like and what is the expected output? If you can add a screenshot/mock up for both that would be great for the community members to assist.&lt;/P&gt;

&lt;P&gt;If you are looking for color based on values like &lt;CODE&gt;health&lt;/CODE&gt; or &lt;CODE&gt;unhealthy&lt;/CODE&gt; you can use Table visualization and Color based on cell value which is available in version 6.5 and higher. The same can be done either directly via &lt;CODE&gt;UI &amp;gt; Edit &amp;gt; Format Visualization &amp;gt; Edit Table Column &amp;gt;&lt;/CODE&gt; &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/TableFormatsFormatting#Column_color"&gt;Table Cell Color by Value&lt;/A&gt; or else using &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/TableFormatsXML#Color_format_rules"&gt;table Simple XML configuration&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;On separate notes, while posting the code use the &lt;CODE&gt;code button i.e. 101010&lt;/CODE&gt; or shortcut &lt;CODE&gt;Ctrl+G&lt;/CODE&gt;, to ensure that special characters do not escape. As per your current code what if a host has both values health and unhealthy for the same host.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Dec 2018 14:18:16 GMT</pubDate>
    <dc:creator>niketn</dc:creator>
    <dc:date>2018-12-12T14:18:16Z</dc:date>
    <item>
      <title>How do I change the font color in a chart depending on a value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-font-color-in-a-chart-depending-on-a-value/m-p/435208#M124116</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I try to change the font colour within a chart. Unfortunately I can only create dashboards and don't have any admin rights.  Here is my search:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=int  Up
| rex field=_raw "Up (?.*) \((?.*)\);(?.*);(?.*);(?.*)"
| chart values(status) BY host name useother=false
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I would like to have the font color green if the values(status) is "healthy" and red if the values(status) is "unhealthy". Unfortunately, I can't change the color directly at the field, because the field names are also dynamic (name).&lt;/P&gt;

&lt;P&gt;Do you have any idea how I can manage this ?&lt;/P&gt;

&lt;P&gt;Thank you in advance for your support&lt;/P&gt;

&lt;P&gt;Julia&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 13:25:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-font-color-in-a-chart-depending-on-a-value/m-p/435208#M124116</guid>
      <dc:creator>jmauritz</dc:creator>
      <dc:date>2018-12-12T13:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the font color in a chart depending on a value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-font-color-in-a-chart-depending-on-a-value/m-p/435209#M124117</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;maybe this can get you some ideas&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/675789/how-to-change-the-font-color-in-a-dashboard-depend.html"&gt;https://answers.splunk.com/answers/675789/how-to-change-the-font-color-in-a-dashboard-depend.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 14:04:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-font-color-in-a-chart-depending-on-a-value/m-p/435209#M124117</guid>
      <dc:creator>dkeck</dc:creator>
      <dc:date>2018-12-12T14:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the font color in a chart depending on a value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-font-color-in-a-chart-depending-on-a-value/m-p/435210#M124118</link>
      <description>&lt;P&gt;@jmauritz is this for Table visualization or Chart? What does your current visualization look like and what is the expected output? If you can add a screenshot/mock up for both that would be great for the community members to assist.&lt;/P&gt;

&lt;P&gt;If you are looking for color based on values like &lt;CODE&gt;health&lt;/CODE&gt; or &lt;CODE&gt;unhealthy&lt;/CODE&gt; you can use Table visualization and Color based on cell value which is available in version 6.5 and higher. The same can be done either directly via &lt;CODE&gt;UI &amp;gt; Edit &amp;gt; Format Visualization &amp;gt; Edit Table Column &amp;gt;&lt;/CODE&gt; &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/TableFormatsFormatting#Column_color"&gt;Table Cell Color by Value&lt;/A&gt; or else using &lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/Viz/TableFormatsXML#Color_format_rules"&gt;table Simple XML configuration&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;On separate notes, while posting the code use the &lt;CODE&gt;code button i.e. 101010&lt;/CODE&gt; or shortcut &lt;CODE&gt;Ctrl+G&lt;/CODE&gt;, to ensure that special characters do not escape. As per your current code what if a host has both values health and unhealthy for the same host.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 14:18:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-font-color-in-a-chart-depending-on-a-value/m-p/435210#M124118</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-12-12T14:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I change the font color in a chart depending on a value?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-font-color-in-a-chart-depending-on-a-value/m-p/435211#M124119</link>
      <description>&lt;P&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/6254iA00CAF82FE402855/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;Here is a printscreen from the statistic.  Maybe this helps. I think because the field name is a variable I can't change the color of the field depending on his value. Am I right ?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Dec 2018 14:50:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-change-the-font-color-in-a-chart-depending-on-a-value/m-p/435211#M124119</guid>
      <dc:creator>jmauritz</dc:creator>
      <dc:date>2018-12-12T14:50:39Z</dc:date>
    </item>
  </channel>
</rss>

