<?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: Show colors in dashboard based on values. in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Show-colors-in-dashboard-based-on-values/m-p/128543#M7611</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Thank you for your guidance.&lt;/P&gt;

&lt;P&gt;My purpose is to show the state of Database,possible values are shown below:&lt;/P&gt;

&lt;P&gt;DB_Name DBRole State&lt;/P&gt;

&lt;P&gt;DB_1 Primary UP(Show this in GREEN color)&lt;BR /&gt;
DB_2 StandBy UP(Show this in GREEN color)&lt;BR /&gt;
DB_3 Primary DOWN(Show this in RED color)&lt;BR /&gt;
DB_4 StandBy DOWN (Show this in RED color)&lt;/P&gt;

&lt;P&gt;I think Single Value Visualization works with Numeric values only . I tried to use 0/1 for states in hope of getting colors through Heat Maps but I don't get colors like RED for 1 and White or gray for 0.  Any suggestions? &lt;/P&gt;

&lt;P&gt;Thank you for your time!&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 06:44:57 GMT</pubDate>
    <dc:creator>ambujhbti</dc:creator>
    <dc:date>2020-09-29T06:44:57Z</dc:date>
    <item>
      <title>Show colors in dashboard based on values.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Show-colors-in-dashboard-based-on-values/m-p/128539#M7607</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I want to show some colors based on values on my dashboard. like below&lt;/P&gt;

&lt;P&gt;If count is &amp;gt;100 then i need to show RED color as a status.&lt;/P&gt;

&lt;P&gt;If count &amp;gt;70 then i need to show YELLOW color &lt;/P&gt;

&lt;P&gt;If count &amp;lt;50 then its green color &lt;/P&gt;

&lt;P&gt;I have read some posts and it says about using  apps or CSS and .Js files.   I don't have access to Splunk app$home or I can't use any app to get this functionality due to restrictions  in my team.&lt;/P&gt;

&lt;P&gt;My goal is to get this done using Splunk query only or may be changing few lines of code in the underlining XML of the panel. &lt;/P&gt;

&lt;P&gt;Can anybody tell me how to achieve it? Any suggestions would really appreciated. &lt;/P&gt;

&lt;P&gt;Thank you for your time/help. &lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2015 16:30:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Show-colors-in-dashboard-based-on-values/m-p/128539#M7607</guid>
      <dc:creator>ambujhbti</dc:creator>
      <dc:date>2015-07-17T16:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Show colors in dashboard based on values.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Show-colors-in-dashboard-based-on-values/m-p/128540#M7608</link>
      <description>&lt;P&gt;Hopefully this will get you on the right track.  &lt;/P&gt;

&lt;P&gt;This should link you to the &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.4/Viz/Visualizationreference#Single_value_visualizations"&gt;Single Value Visualizations&lt;/A&gt;.  In there is some good information on doing what you seem to want and happily enough, they're all just user-level things so they should be able to be implemented by you in a dashboard.&lt;/P&gt;

&lt;P&gt;It's a good read - go all the way down until you hit the "Maps" section (it's not real long) to see what possibilities there are, then try a few out and play around with them.&lt;/P&gt;

&lt;P&gt;Let us know how that works out!&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2015 19:19:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Show-colors-in-dashboard-based-on-values/m-p/128540#M7608</guid>
      <dc:creator>Richfez</dc:creator>
      <dc:date>2015-07-17T19:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Show colors in dashboard based on values.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Show-colors-in-dashboard-based-on-values/m-p/128541#M7609</link>
      <description>&lt;P&gt;If you want to change the colors of the bars in a chart, so something similar, take a look at this answer:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://answers.splunk.com/answers/58335/change-chart-bar-color-based-on-data-value.html"&gt;Change chart bar color based on data value&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;The answer only uses simple XML in the dashboard.&lt;/P&gt;</description>
      <pubDate>Fri, 17 Jul 2015 21:06:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Show-colors-in-dashboard-based-on-values/m-p/128541#M7609</guid>
      <dc:creator>lguinn2</dc:creator>
      <dc:date>2015-07-17T21:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Show colors in dashboard based on values.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Show-colors-in-dashboard-based-on-values/m-p/128542#M7610</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Thank you.&lt;/P&gt;

&lt;P&gt;My purpose is to show the state of Database,possible values are shown below:&lt;/P&gt;

&lt;P&gt;DB_Name       DBRole          State&lt;/P&gt;

&lt;P&gt;DB_1               Primary          UP(Show this in GREEN color)&lt;BR /&gt;
DB_2               StandBy         UP(Show this in GREEN color)&lt;BR /&gt;
DB_3               Primary          DOWN(Show this in RED color)&lt;BR /&gt;
DB_4               StandBy          DOWN (Show this in RED color) &lt;/P&gt;

&lt;P&gt;I can't make use of CSS as I dont' have access, moreover my team won't give me access since this is just a simple task of changing of color or values. &lt;/P&gt;

&lt;P&gt;If you could suggest me any way of doing this using XML, it will really solve my purpose.&lt;/P&gt;

&lt;P&gt;Thanks! &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:44:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Show-colors-in-dashboard-based-on-values/m-p/128542#M7610</guid>
      <dc:creator>ambujhbti</dc:creator>
      <dc:date>2020-09-29T06:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Show colors in dashboard based on values.</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Show-colors-in-dashboard-based-on-values/m-p/128543#M7611</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;Thank you for your guidance.&lt;/P&gt;

&lt;P&gt;My purpose is to show the state of Database,possible values are shown below:&lt;/P&gt;

&lt;P&gt;DB_Name DBRole State&lt;/P&gt;

&lt;P&gt;DB_1 Primary UP(Show this in GREEN color)&lt;BR /&gt;
DB_2 StandBy UP(Show this in GREEN color)&lt;BR /&gt;
DB_3 Primary DOWN(Show this in RED color)&lt;BR /&gt;
DB_4 StandBy DOWN (Show this in RED color)&lt;/P&gt;

&lt;P&gt;I think Single Value Visualization works with Numeric values only . I tried to use 0/1 for states in hope of getting colors through Heat Maps but I don't get colors like RED for 1 and White or gray for 0.  Any suggestions? &lt;/P&gt;

&lt;P&gt;Thank you for your time!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:44:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Show-colors-in-dashboard-based-on-values/m-p/128543#M7611</guid>
      <dc:creator>ambujhbti</dc:creator>
      <dc:date>2020-09-29T06:44:57Z</dc:date>
    </item>
  </channel>
</rss>

