<?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 How can I get the DiskFreeSpace field to be colored in my dashboard, automatically depending on the value? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-get-the-DiskFreeSpace-field-to-be-colored-in-my/m-p/413509#M27180</link>
    <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I am pulling physical disk info and just putting it in Dashboard. I want DiskFreeSpace field to be colored automatically depending on the value. Is this possible?&lt;BR /&gt;
Splunk Version&lt;BR /&gt;
6.2.3&lt;BR /&gt;
Splunk Build&lt;BR /&gt;
264376&lt;/P&gt;

&lt;P&gt;Here is what I have setup so far.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|eval DiskFreeSpace=round((FreeSpace/1024/1024/1024),2)|eval DiskSpace=round((Size/1024/1024/1024),2)|rangemap field=DiskFreeSpace blue=10-60 red=0-9 |rename Name AS Disk host AS Host|table Host Disk DiskSpace DiskFreeSpace|dedup Disk
&lt;/CODE&gt;&lt;/PRE&gt;

&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/5010i61403167580EE6EC/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;I even added this to my source code&lt;/P&gt;

&lt;P&gt;range&lt;/P&gt;

&lt;P&gt;Thanks for the help&lt;/P&gt;</description>
    <pubDate>Mon, 21 May 2018 17:17:22 GMT</pubDate>
    <dc:creator>carlyleadmin</dc:creator>
    <dc:date>2018-05-21T17:17:22Z</dc:date>
    <item>
      <title>How can I get the DiskFreeSpace field to be colored in my dashboard, automatically depending on the value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-get-the-DiskFreeSpace-field-to-be-colored-in-my/m-p/413509#M27180</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;

&lt;P&gt;I am pulling physical disk info and just putting it in Dashboard. I want DiskFreeSpace field to be colored automatically depending on the value. Is this possible?&lt;BR /&gt;
Splunk Version&lt;BR /&gt;
6.2.3&lt;BR /&gt;
Splunk Build&lt;BR /&gt;
264376&lt;/P&gt;

&lt;P&gt;Here is what I have setup so far.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|eval DiskFreeSpace=round((FreeSpace/1024/1024/1024),2)|eval DiskSpace=round((Size/1024/1024/1024),2)|rangemap field=DiskFreeSpace blue=10-60 red=0-9 |rename Name AS Disk host AS Host|table Host Disk DiskSpace DiskFreeSpace|dedup Disk
&lt;/CODE&gt;&lt;/PRE&gt;

&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/5010i61403167580EE6EC/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;I even added this to my source code&lt;/P&gt;

&lt;P&gt;range&lt;/P&gt;

&lt;P&gt;Thanks for the help&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 17:17:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-get-the-DiskFreeSpace-field-to-be-colored-in-my/m-p/413509#M27180</guid>
      <dc:creator>carlyleadmin</dc:creator>
      <dc:date>2018-05-21T17:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the DiskFreeSpace field to be colored in my dashboard, automatically depending on the value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-get-the-DiskFreeSpace-field-to-be-colored-in-my/m-p/413510#M27181</link>
      <description>&lt;P&gt;i added&lt;/P&gt;

&lt;P&gt;option name=classfield&amp;gt;range   to my source&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 17:18:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-get-the-DiskFreeSpace-field-to-be-colored-in-my/m-p/413510#M27181</guid>
      <dc:creator>carlyleadmin</dc:creator>
      <dc:date>2018-05-21T17:18:41Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the DiskFreeSpace field to be colored in my dashboard, automatically depending on the value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-get-the-DiskFreeSpace-field-to-be-colored-in-my/m-p/413511#M27182</link>
      <description>&lt;P&gt;if i use the below it works on splunk Splunk Version&lt;BR /&gt;
7.0.3&lt;BR /&gt;
Splunk Build&lt;BR /&gt;
fa31da744b51&lt;/P&gt;

&lt;P&gt;but the same logic does not work on 6.2.3 version&lt;BR /&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/5008iC2225C03BE78DFBA/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;&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/5009iEFA55BDB0A1E27F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 18:10:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-get-the-DiskFreeSpace-field-to-be-colored-in-my/m-p/413511#M27182</guid>
      <dc:creator>carlyleadmin</dc:creator>
      <dc:date>2018-05-21T18:10:05Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get the DiskFreeSpace field to be colored in my dashboard, automatically depending on the value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-get-the-DiskFreeSpace-field-to-be-colored-in-my/m-p/413512#M27183</link>
      <description>&lt;P&gt;@carlyleadmin since you are on version 6.2.3 and Table Cell formatting option to add colors through UI was introduced only in version 6.5, only option for you to color your Table Cell based on range of value, is to use Simple XML JS and CSS extension. Get the &lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;Splunk Dashboard Examples App&lt;/A&gt; from Splunkbase and try out the &lt;CODE&gt;Table Cell Highlighting&lt;/CODE&gt; Example which can be applied to your dashboard.&lt;/P&gt;</description>
      <pubDate>Mon, 21 May 2018 20:53:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-can-I-get-the-DiskFreeSpace-field-to-be-colored-in-my/m-p/413512#M27183</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-05-21T20:53:05Z</dc:date>
    </item>
  </channel>
</rss>

