<?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: In a Splunk dashboard, how do you make the cell coloring range different for each row? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/705187#M57764</link>
    <description>&lt;P&gt;I need help coloring rows FONT text based on a cell value&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Logic is like below&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;case(match(value,"logLevel=INFO"),"#4f34eb",match(value,"logLevel=WARNING"),"#ffff00",match(value,"logLevel=ERROR"),"#53A051",true(),"#ffffff")&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 25 Nov 2024 15:03:51 GMT</pubDate>
    <dc:creator>a1bg503461</dc:creator>
    <dc:date>2024-11-25T15:03:51Z</dc:date>
    <item>
      <title>In a Splunk dashboard, how do you make the cell coloring range different for each row?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448523#M29474</link>
      <description>&lt;P&gt;hi guys,&lt;/P&gt;

&lt;P&gt;I have been trying to color a table in a Splunk dashboard, but I need the color ranges to be different for each row:&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  Context     Field 1        Field 2       Field 3
   A             8               -4          9
   B             8               -4          9
   C             8               -4          9
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For row where column Context is A:    color  green when  the value is &amp;gt; 5  , red if the value &amp;lt; -5&lt;BR /&gt;
For row where column Context is B:    color blue   when the value is &amp;gt; 5, yellow if the value &amp;lt; -5&lt;BR /&gt;
For row where column Context is C:    color orange when the value is &amp;gt; 5, pink if the value &amp;lt; -5&lt;/P&gt;

&lt;P&gt;So, I tested with Javascript something that for a normal HTML page works. However, for the Splunk results table, it does not work.&lt;/P&gt;

&lt;P&gt;what am I missing??&lt;/P&gt;

&lt;P&gt;In Splunk, I built my SimpleXML table, then converted to HTML and inserted my Javascript code.&lt;/P&gt;

&lt;P&gt;For an HTML page, this sample I built works:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;head&amp;gt;
&amp;lt;title&amp;gt;Sample code &amp;lt;/title&amp;gt;
&amp;lt;script&amp;gt;
    function start() {

        var body  = document.getElementsByTagName("body")[0];
        var table = body.getElementsByClassName("table")[0];
        var tbody = table.getElementsByTagName('tbody')[0];

        for (var j=0; j&amp;lt;3; j++){

            var rows = tbody.getElementsByTagName('tr')[j];
            var cells = rows.getElementsByTagName('td');

            for (var i=0, len=cells.length; i&amp;lt;len; i++){

                if (cells[0].innerHTML == "A"){

                    if (parseInt(cells[i].innerHTML,10) &amp;gt; 5){
                        cells[i].style.backgroundColor = 'green';
                    }
                    else if (parseInt(cells[i].innerHTML,10) &amp;lt; -5){
                        cells[i].style.backgroundColor = 'red';
                    }
                }
                if (cells[0].innerHTML == "B"){

                    if (parseInt(cells[i].innerHTML,10) &amp;gt; 5){
                        cells[i].style.backgroundColor = 'blue';
                    }
                    else if (parseInt(cells[i].innerHTML,10) &amp;lt; -5){
                        cells[i].style.backgroundColor = 'yellow';
                    }
                }
                if (cells[0].innerHTML == "C"){

                    if (parseInt(cells[i].innerHTML,10) &amp;gt; 5){
                        cells[i].style.backgroundColor = 'orange';
                    }
                    else if (parseInt(cells[i].innerHTML,10) &amp;lt; -5){
                        cells[i].style.backgroundColor = 'pink';
                    }
                }

            }
        }       

    }
&amp;lt;/script&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body onload="start()"&amp;gt;
&amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;&amp;lt;/br&amp;gt;
&amp;lt;table id="tableID" class="table" border="2" style="padding: 0.2em 0.5em" align="center"&amp;gt;
    &amp;lt;thead&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;th&amp;gt;Context&amp;lt;/th&amp;gt;
            &amp;lt;th&amp;gt;Field 1&amp;lt;/th&amp;gt;
            &amp;lt;th&amp;gt;Field 2&amp;lt;/th&amp;gt;
            &amp;lt;th&amp;gt;Field 3&amp;lt;/th&amp;gt;
        &amp;lt;/tr&amp;gt;
    &amp;lt;/thead&amp;gt;
    &amp;lt;tbody&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td style="font-size: 50pt"&amp;gt;A&amp;lt;/td&amp;gt;
            &amp;lt;td style="font-size: 50pt"&amp;gt;8&amp;lt;/td&amp;gt;
            &amp;lt;td style="font-size: 50pt"&amp;gt;-4&amp;lt;/td&amp;gt;
            &amp;lt;td style="font-size: 50pt"&amp;gt;-9&amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td style="font-size: 50pt"&amp;gt;B&amp;lt;/td&amp;gt;
            &amp;lt;td style="font-size: 50pt"&amp;gt;8&amp;lt;/td&amp;gt;
            &amp;lt;td style="font-size: 50pt"&amp;gt;-4&amp;lt;/td&amp;gt;
            &amp;lt;td style="font-size: 50pt"&amp;gt;-9&amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
        &amp;lt;tr&amp;gt;
            &amp;lt;td style="font-size: 50pt"&amp;gt;C&amp;lt;/td&amp;gt;
            &amp;lt;td style="font-size: 50pt"&amp;gt;8&amp;lt;/td&amp;gt;
            &amp;lt;td style="font-size: 50pt"&amp;gt;-4&amp;lt;/td&amp;gt;
            &amp;lt;td style="font-size: 50pt"&amp;gt;-9&amp;lt;/td&amp;gt;
        &amp;lt;/tr&amp;gt;
    &amp;lt;/tbody&amp;gt;
&amp;lt;/table&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Oct 2018 11:46:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448523#M29474</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2018-10-29T11:46:47Z</dc:date>
    </item>
    <item>
      <title>Re: In a Splunk dashboard, how do you make the cell coloring range different for each row?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448524#M29475</link>
      <description>&lt;P&gt;@asimagu,&lt;/P&gt;

&lt;P&gt;There is a simpler way you can do it. I suggest you form your table first using a normal search text box (not in the dashboard). Then use the individual cell formatting option to color the column cells based on its value. In the screenshot, I used ranges to decide the color. &lt;/P&gt;

&lt;P&gt;Then, if you are satisfied with the colors of all your cells, simply save it as a 'dashboard panel'. &lt;/P&gt;

&lt;P&gt;Of course there are other ways to achieve this using CSS and javascript, but if this gets our job done, then I would say let's avoid those many lines of code.&lt;/P&gt;

&lt;P&gt;Let me know if this helps.&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/5992iBF63799A74B92B6C/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, 29 Oct 2018 13:58:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448524#M29475</guid>
      <dc:creator>pramit46</dc:creator>
      <dc:date>2018-10-29T13:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: In a Splunk dashboard, how do you make the cell coloring range different for each row?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448525#M29476</link>
      <description>&lt;P&gt;@pramit46 each row should have a different condition for the colours. the default splunk does not provide this&lt;/P&gt;</description>
      <pubDate>Mon, 29 Oct 2018 14:11:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448525#M29476</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2018-10-29T14:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: In a Splunk dashboard, how do you make the cell coloring range different for each row?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448526#M29477</link>
      <description>&lt;P&gt;@asimagu based on the answer by our Trust Fez bearer @kamlesh_vaghela please find below an answer specific to your query.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Step 1)&lt;/STRONG&gt; Prefix all Field values with the Context value with pipe and delimeter character (or any other delimeter of your choice except hyphen which is same as minus sign as per your data.). First table displays the same result (it does not apply range color by context as it is only for example of data for customer table cell rendering.)&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Step 2)&lt;/STRONG&gt; Give your table a specific id in Simple XML i.e. &lt;CODE&gt;id="tableWithColorBasedOnContext"&lt;/CODE&gt;, in the run anywhere search attached. PS: The first table in the example does not have table id so range color by context does not apply.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Step 3)&lt;/STRONG&gt; Add Customer table Cell renderer and pull three required Field cells i.e. &lt;CODE&gt;Field1&lt;/CODE&gt;, &lt;CODE&gt;Field2&lt;/CODE&gt; and &lt;CODE&gt;Field3&lt;/CODE&gt; in the above example. Apply custom JS section to split Context and Value for each field using delimeter (i.e. pipe &lt;CODE&gt;|&lt;/CODE&gt; in the example).&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Step 4)&lt;/STRONG&gt; Add custom CSS Style class based on the context and range i.e. &lt;CODE&gt;range-green&lt;/CODE&gt;, &lt;CODE&gt;range-red&lt;/CODE&gt; etc.&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;Step 5)&lt;/STRONG&gt; Create CSS Style section to apply CSS Style override for table with specific background color class. For example:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      #tableWithColorBasedOnContext .range-green{
        background:green;
      }
&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/5994i63494F466D42ED4B/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;Please try out the following Run anywhere example and confirm:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;1) Run anywhere Simple XML Dashboard Code&lt;/STRONG&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard script="table_row_color_by_context_and_range.js"&amp;gt;
  &amp;lt;label&amp;gt;Table Color by Context&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Table without Color Based on Context&amp;lt;/title&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults 
| eval data="A,8,-6,0;B,6,-2,-9;C,0,7,-8" 
| makemv data delim=";" 
| mvexpand data 
| makemv data delim="," 
| eval Context=mvindex(data,0),Field1=mvindex(data,1),Field2=mvindex(data,2),Field3=mvindex(data,3) 
| table Context Field*
| foreach Field1, Field2, Field3 [| eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=Context."|".&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;]&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;20&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;title&amp;gt;Table with Color Based on Context&amp;lt;/title&amp;gt;
      &amp;lt;table id="tableWithColorBasedOnContext"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;| makeresults 
| eval data="A,8,-6,0;B,6,-2,-9;C,0,7,-8"
| makemv data delim=";" 
| mvexpand data 
| makemv data delim="," 
| eval Context=mvindex(data,0),Field1=mvindex(data,1),Field2=mvindex(data,2),Field3=mvindex(data,3) 
| table Context Field*
| foreach Field1, Field2, Field3 [| eval &amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;=Context."|".&amp;lt;&amp;lt;FIELD&amp;gt;&amp;gt;]&amp;lt;/query&amp;gt;
          &amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;
          &amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;
          &amp;lt;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;
        &amp;lt;/search&amp;gt;
        &amp;lt;option name="count"&amp;gt;20&amp;lt;/option&amp;gt;
        &amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="percentagesRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;
        &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
      &amp;lt;html depends="$alwaysHideStyleCSS$"&amp;gt;
        &amp;lt;style&amp;gt;
          #tableWithColorBasedOnContext .range-green{
            background:green;
          }
          #tableWithColorBasedOnContext .range-red{
            background:red;
          }
          #tableWithColorBasedOnContext .range-blue{
            background:lightblue;
          }
          #tableWithColorBasedOnContext .range-yellow{
            background:yellow;
          }
          #tableWithColorBasedOnContext .range-orange{
            background:orange;
          }
          #tableWithColorBasedOnContext .range-pink{
            background:pink;
          }
        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;  
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;&lt;STRONG&gt;2) JavaScript file &lt;CODE&gt;table_row_color_by_context_and_range.js&lt;/CODE&gt;&lt;/STRONG&gt; &lt;/P&gt;

&lt;P&gt;To be put under your Splunk app's &lt;CODE&gt;appserver/static&lt;/CODE&gt; folder. (PS: You may need bump, refresh, restart of your Splunk instance depending on the need. Also, you may be required to clean your Internet Browser's history for Static file changes to reflect properly.)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;require([
    'underscore',
    'jquery',
    'splunkjs/mvc',
    'splunkjs/mvc/tableview',
    'splunkjs/mvc/simplexml/ready!'
], function (_, $, mvc, TableView) {
    console.log("Script Started");
    var CustomRangeRenderer = TableView.BaseCellRenderer.extend({
        canRender: function (cell) {
            console.log("Starting Custom Renderer");
            return _(['Field1', 'Field2', 'Field3']).contains(cell.field);
        },
        render: function ($td, cell) {
            var context = cell.value.split("|")[0];
            var value = parseInt(cell.value.split("|")[1]);


            if (context == "A") {
                if (value &amp;gt; 5) {
                    $td.addClass('range-green');
                } else if (value &amp;lt; -5) {
                    $td.addClass('range-red');
                }
            }

            if (context == "B") {
                if (value &amp;gt; 5) {
                    $td.addClass('range-blue');
                } else if (value &amp;lt; -5) {
                    $td.addClass('range-yellow');
                }
            }

            if (context == "C") {
                if (value &amp;gt; 5) {
                    $td.addClass('range-orange');
                } else if (value &amp;lt; -5) {
                    $td.addClass('range-pink');
                }
            }
            $td.text(value).addClass('numeric');
        }
    });

    mvc.Components.get('tableWithColorBasedOnContext').getVisualization(function (tableView) {
        tableView.addCellRenderer(new CustomRangeRenderer());
    });
});
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 29 Oct 2018 20:15:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448526#M29477</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-10-29T20:15:00Z</dc:date>
    </item>
    <item>
      <title>Re: In a Splunk dashboard, how do you make the cell coloring range different for each row?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448527#M29478</link>
      <description>&lt;P&gt;it works like a charm! thanks so much @niketnilay&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 08:22:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448527#M29478</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2018-10-30T08:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: In a Splunk dashboard, how do you make the cell coloring range different for each row?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448528#M29479</link>
      <description>&lt;P&gt;@niketnilay is there any way of getting all the fields without hardcoding the names in the javascript?? something like return _(['*']).contains(cell.field);   for line 12 in the script&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 10:10:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448528#M29479</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2018-10-30T10:10:46Z</dc:date>
    </item>
    <item>
      <title>Re: In a Splunk dashboard, how do you make the cell coloring range different for each row?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448529#M29480</link>
      <description>&lt;P&gt;@asimagu refer to one of my older answers: &lt;A href="https://answers.splunk.com/answers/618930/how-can-i-get-the-table-cell-colorization-renderin-1.html"&gt;https://answers.splunk.com/answers/618930/how-can-i-get-the-table-cell-colorization-renderin-1.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It uses &lt;CODE&gt;SearchManager&lt;/CODE&gt; from SplunkJS stack to get the list of fields returned and filters out unwanted fields (in the example it was _time but in your case it will be Context).&lt;/P&gt;

&lt;P&gt;Alternatively, you can use an independent search in your dashboard to get all the field names and assign the list of comma separated field names as token which you can access in Splunk JS using Token Manger.&lt;/P&gt;

&lt;P&gt;Please try out and confirm if you need assistance with any of the approach.&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 10:24:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448529#M29480</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2018-10-30T10:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: In a Splunk dashboard, how do you make the cell coloring range different for each row?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448530#M29481</link>
      <description>&lt;P&gt;thanks a lot @niketnilay !! I got it working!&lt;/P&gt;</description>
      <pubDate>Tue, 30 Oct 2018 15:11:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/448530#M29481</guid>
      <dc:creator>asimagu</dc:creator>
      <dc:date>2018-10-30T15:11:34Z</dc:date>
    </item>
    <item>
      <title>Re: In a Splunk dashboard, how do you make the cell coloring range different for each row?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/705187#M57764</link>
      <description>&lt;P&gt;I need help coloring rows FONT text based on a cell value&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Logic is like below&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;case(match(value,"logLevel=INFO"),"#4f34eb",match(value,"logLevel=WARNING"),"#ffff00",match(value,"logLevel=ERROR"),"#53A051",true(),"#ffffff")&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 25 Nov 2024 15:03:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/In-a-Splunk-dashboard-how-do-you-make-the-cell-coloring-range/m-p/705187#M57764</guid>
      <dc:creator>a1bg503461</dc:creator>
      <dc:date>2024-11-25T15:03:51Z</dc:date>
    </item>
  </channel>
</rss>

