<?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: Change cell color of a dashboard table in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Change-cell-color-of-a-dashboard-table/m-p/187852#M11669</link>
    <description>&lt;P&gt;Hi sbolyard ,&lt;/P&gt;

&lt;P&gt;or you check this one &lt;A href="http://answers.splunk.com/answers/83206/color-in-a-table-based-on-values"&gt;http://answers.splunk.com/answers/83206/color-in-a-table-based-on-values&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
    <pubDate>Wed, 20 Aug 2014 05:34:33 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2014-08-20T05:34:33Z</dc:date>
    <item>
      <title>Change cell color of a dashboard table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Change-cell-color-of-a-dashboard-table/m-p/187850#M11667</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;
I'm trying to set up my dashboard to change the color of a cell if it has a priority of P1, P2 or P3. I have the css and javascript set up, but I think my problem is with the first two lines of the XML.  The first line, I have it set up for another panel to produce icons, which works. I tried changing it to a form, but that didn't help.  Can anyone help me out with this?&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;FORM script="table_icons_inline.js" stylesheet="table_decorations.css"&gt;&lt;BR /&gt;
&lt;DASHBOARD script="table_cell_highlighting.js" stylesheet="table_cell_highlighting.css"&gt;&lt;/DASHBOARD&gt;&lt;BR /&gt;
  &lt;LABEL&gt;Network Operations Dashboard&lt;/LABEL&gt;&lt;BR /&gt;
  &lt;FIELDSET submitbutton="false" autorun="false"&gt;&lt;BR /&gt;
  &lt;ROW&gt;&lt;BR /&gt;
    &lt;PANEL&gt;&lt;BR /&gt;
      &lt;TABLE id="server_status"&gt;&lt;BR /&gt;
        &lt;TITLE&gt;Server Status&lt;/TITLE&gt;&lt;BR /&gt;
        &lt;SEARCHSTRING&gt;index="fping_status" sourcetype="&lt;EM&gt;" host_status=unreachable OR host_status=alive  host_name="&lt;/EM&gt;" | stats latest(sourcetype) as "Operating System",latest(host_name) as "Host Name", latest(host_status) as "Status",  latest(host_pingtime) as "Ping", latest(time) as "Last Updated" by host_name | sort -str(Status),-num(Ping),+str(host_name) |fields "Host Name",Status,"Operating System"&lt;/SEARCHSTRING&gt;&lt;BR /&gt;
        &lt;EARLIESTTIME&gt;-3m&lt;/EARLIESTTIME&gt;&lt;BR /&gt;
        &lt;LATESTTIME&gt;now&lt;/LATESTTIME&gt;&lt;BR /&gt;
        10&lt;BR /&gt;
        true&lt;BR /&gt;
        false&lt;BR /&gt;
        none&lt;BR /&gt;
        cell&lt;BR /&gt;
        180&lt;BR /&gt;
      &lt;/TABLE&gt;&lt;BR /&gt;
    &lt;/PANEL&gt;&lt;BR /&gt;
    &lt;PANEL&gt;&lt;BR /&gt;
      &lt;TABLE id="Windows_Server_Statistics_Disk"&gt;&lt;BR /&gt;
        &lt;TITLE&gt;Windows Server Statistics - Disk Space&lt;/TITLE&gt;&lt;BR /&gt;
        &lt;SEARCHSTRING&gt;eventtype="windows_performance" Host="*" object="LogicalDisk" counter="% Free Space"  instance!="_Total" | stats sparkline(avg(Value)) as Trend , latest(Value) as Current, latest(instance) as Drive,latest(_time) as "Last Updated" by Host | convert ctime("Last Updated") | sort Current | eval Current=(100-Current) | eval Current=round(Current, 2) | eval Priority=case((Current&amp;lt;90 OR Current=90), "Normal", (Current&amp;gt;90 AND Current&amp;lt;95 OR Current=95), "P3",(Current&amp;gt;95 AND Current&amp;lt;98 OR Current=98), "P2", Current&amp;gt;98, "P1") |fields Host, Drive, Current, Priority,"Last Updated"&lt;/SEARCHSTRING&gt;&lt;BR /&gt;
        &lt;EARLIESTTIME&gt;-5m&lt;/EARLIESTTIME&gt;&lt;BR /&gt;
        &lt;LATESTTIME&gt;now&lt;/LATESTTIME&gt;&lt;P&gt;&lt;/P&gt;
&lt;/TABLE&gt;&lt;/PANEL&gt;&lt;/ROW&gt;&lt;/FIELDSET&gt;&lt;/FORM&gt;</description>
      <pubDate>Mon, 28 Sep 2020 17:22:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Change-cell-color-of-a-dashboard-table/m-p/187850#M11667</guid>
      <dc:creator>sbolyard</dc:creator>
      <dc:date>2020-09-28T17:22:07Z</dc:date>
    </item>
    <item>
      <title>Re: Change cell color of a dashboard table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Change-cell-color-of-a-dashboard-table/m-p/187851#M11668</link>
      <description>&lt;P&gt;Check this&lt;BR /&gt;
&lt;A href="http://answers.splunk.com/answers/104562/color-individual-table-cell-based-on-value"&gt;http://answers.splunk.com/answers/104562/color-individual-table-cell-based-on-value&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 04:16:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Change-cell-color-of-a-dashboard-table/m-p/187851#M11668</guid>
      <dc:creator>strive</dc:creator>
      <dc:date>2014-08-20T04:16:09Z</dc:date>
    </item>
    <item>
      <title>Re: Change cell color of a dashboard table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Change-cell-color-of-a-dashboard-table/m-p/187852#M11669</link>
      <description>&lt;P&gt;Hi sbolyard ,&lt;/P&gt;

&lt;P&gt;or you check this one &lt;A href="http://answers.splunk.com/answers/83206/color-in-a-table-based-on-values"&gt;http://answers.splunk.com/answers/83206/color-in-a-table-based-on-values&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 05:34:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Change-cell-color-of-a-dashboard-table/m-p/187852#M11669</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-08-20T05:34:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change cell color of a dashboard table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Change-cell-color-of-a-dashboard-table/m-p/187853#M11670</link>
      <description>&lt;P&gt;or this one &lt;A href="http://apps.splunk.com/app/570/"&gt;http://apps.splunk.com/app/570/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 05:35:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Change-cell-color-of-a-dashboard-table/m-p/187853#M11670</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-08-20T05:35:11Z</dc:date>
    </item>
    <item>
      <title>Re: Change cell color of a dashboard table</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Change-cell-color-of-a-dashboard-table/m-p/187854#M11671</link>
      <description>&lt;P&gt;Why is there a &lt;CODE&gt;&amp;lt;dashboard&amp;gt;&lt;/CODE&gt; tag inside a &lt;CODE&gt;&amp;lt;form&amp;gt;&lt;/CODE&gt; tag?&lt;/P&gt;

&lt;P&gt;If you're using that to include multiple script or stylesheet references, you can just plonk multiple attributes into the outer &lt;CODE&gt;&amp;lt;form&amp;gt;&lt;/CODE&gt; tag.&lt;/P&gt;</description>
      <pubDate>Wed, 20 Aug 2014 09:17:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Change-cell-color-of-a-dashboard-table/m-p/187854#M11671</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2014-08-20T09:17:38Z</dc:date>
    </item>
  </channel>
</rss>

