<?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 display certain colors in a graph based on certain values? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-certain-colors-in-a-graph-based-on-certain-values/m-p/279174#M17710</link>
    <description>&lt;P&gt;What is your current search command?&lt;/P&gt;</description>
    <pubDate>Tue, 22 Dec 2015 22:31:51 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2015-12-22T22:31:51Z</dc:date>
    <item>
      <title>How to display certain colors in a graph based on certain values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-certain-colors-in-a-graph-based-on-certain-values/m-p/279172#M17708</link>
      <description>&lt;P&gt;Hey guys,&lt;/P&gt;

&lt;P&gt;So I currently have a graph which utilizes how much disk space a certain path is taking up on a certain server. Since there are several servers with different disk utilizations, the graph is all over the place with all different kinds of colors. So, what I want to do is color code the graphs based on their values of disk utilization. To be more specific, I want the servers with less than 50% of utilization to be green, the servers with 50-70% utilization to be yellow, and the servers with over 70% utilization to be shown as red.&lt;/P&gt;

&lt;P&gt;Can someone help out?&lt;/P&gt;

&lt;P&gt;Thanks in advance for your tips and help! &lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 15:40:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-certain-colors-in-a-graph-based-on-certain-values/m-p/279172#M17708</guid>
      <dc:creator>splunkman341</dc:creator>
      <dc:date>2015-12-14T15:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to display certain colors in a graph based on certain values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-certain-colors-in-a-graph-based-on-certain-values/m-p/279173#M17709</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I think this will be helpfull for you &lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1/Viz/BuildandeditdashboardswithSimplifiedXML#Specify_custom_colors_for_fields_in_charts"&gt;http://docs.splunk.com/Documentation/Splunk/6.1/Viz/BuildandeditdashboardswithSimplifiedXML#Specify_custom_colors_for_fields_in_charts&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Specify custom colors for fields in charts&lt;/P&gt;

&lt;P&gt;{"ERROR": 0xFF0000, "WARN": 0xFF9900, "INFO":0x009900, "NULL":0xC4C4C0}&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Mon, 14 Dec 2015 15:47:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-certain-colors-in-a-graph-based-on-certain-values/m-p/279173#M17709</guid>
      <dc:creator>jmallorquin</dc:creator>
      <dc:date>2015-12-14T15:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to display certain colors in a graph based on certain values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-certain-colors-in-a-graph-based-on-certain-values/m-p/279174#M17710</link>
      <description>&lt;P&gt;What is your current search command?&lt;/P&gt;</description>
      <pubDate>Tue, 22 Dec 2015 22:31:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-certain-colors-in-a-graph-based-on-certain-values/m-p/279174#M17710</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2015-12-22T22:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to display certain colors in a graph based on certain values?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-certain-colors-in-a-graph-based-on-certain-values/m-p/279175#M17711</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;index="tablet_os" sourcetype="df" host=dc1* sda3 OR Data
| multikv fields FileSystem, UsePct | strcat host '@' Filesystem Host_FileSystem
| eval Host_FileSystem = case(
   Host_FileSystem = "dc1prmtbap01/dev/mapper/localraid-Data", "dc1prmtbap01 /data",
   Host_FileSystem = "dc1prmtbap01 /dev/sda3", "dc1prmtbap01/root",
   Host_FileSystem = "dc1prmtbap02/dev/mapper/localraid-Data", "dc1prmtbap02 /data",
   Host_FileSystem = "dc1prmtbap02 /dev/sda3", "dc1prmtbap02/root",
   Host_FileSystem = "dc1prmtbap03/dev/mapper/localraid-Data", "dc1prmtbap03 /data",
   Host_FileSystem = "dc1prmtbap03 /dev/sda3", "dc1prmtbap03/root",
   Host_FileSystem = "dc1prmtbap04/dev/mapper/localraid-data", "dc1prmtbap04 /data",
   Host_FileSystem = "dc1prmtbap04 /dev/sda3", "dc1prmtbap04/root",
   Host_FileSystem = "dc1prmtbap05/dev/mapper/localraid-data", "dc1prmtbap05 /data",
   Host_FileSystem = "dc1prmtbap05 /dev/sda3", "dc1prmtbap05/root" ,
   1=1,  Host_FileSystem)
| timechart span=60m avg(UsePct) by Host_FileSystem
| rename avg(UsePct) as %Used
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 23 Dec 2015 14:57:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-display-certain-colors-in-a-graph-based-on-certain-values/m-p/279175#M17711</guid>
      <dc:creator>splunkman341</dc:creator>
      <dc:date>2015-12-23T14:57:17Z</dc:date>
    </item>
  </channel>
</rss>

