<?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 add colour feature in dashboard which the value is in the time format in Splunk Enterprise</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-add-colour-feature-in-dashboard-which-the-value-is-in-the/m-p/603630#M13052</link>
    <description>&lt;P&gt;you have to edit the xml, see below as example, adjust the colours as need it&lt;/P&gt;&lt;P&gt;&amp;lt;dashboard theme="dark"&amp;gt;&lt;BR /&gt;&amp;lt;label&amp;gt;test collor pallete&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;row&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;table&amp;gt;&lt;BR /&gt;&amp;lt;search&amp;gt;&lt;BR /&gt;&amp;lt;query&amp;gt;| makeresults&lt;BR /&gt;| eval result1="-100", result2 = "23"&amp;lt;/query&amp;gt;&lt;BR /&gt;&amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;&lt;BR /&gt;&amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;&lt;BR /&gt;&amp;lt;/search&amp;gt;&lt;BR /&gt;&amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="result1"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="expression"&amp;gt;if(like(value,"%-%"),"#65A637", "#FF0000")&amp;lt;/colorPalette&amp;gt;&lt;BR /&gt;&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="result2"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="expression"&amp;gt;if(like(value,"%-%"),"#65A637", "#FF0000")&amp;lt;/colorPalette&amp;gt;&lt;BR /&gt;&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;/row&amp;gt;&lt;BR /&gt;&amp;lt;/dashboard&amp;gt;&lt;/P&gt;</description>
    <pubDate>Tue, 28 Jun 2022 16:48:11 GMT</pubDate>
    <dc:creator>preotesoiu</dc:creator>
    <dc:date>2022-06-28T16:48:11Z</dc:date>
    <item>
      <title>How to add colour feature in dashboard which the value is in the time format</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-add-colour-feature-in-dashboard-which-the-value-is-in-the/m-p/603596#M13049</link>
      <description>&lt;P&gt;I did not received the expected result on the below query,&lt;BR /&gt;could anyone please check.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Splunk-Enterprise/How-to-add-colour-feature-in-dashboard/m-p/603148#M12979" target="_blank" rel="noopener"&gt;https://community.splunk.com/t5/Splunk-Enterprise/How-to-add-colour-feature-in-dashboard/m-p/603148#M12979&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In the below dashboard table, I need to set colour condition of 2 columns that is is expected difference and sla_difference.&lt;BR /&gt;if expected_difference Is negative it should show in red colour if it is positive it should show in green colour.&lt;BR /&gt;same as for sla_difference if it is negative it should be orange if it is positive it should show in green.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Srubhi_0-1656421015848.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/20340i92233D0776746B47/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Srubhi_0-1656421015848.png" alt="Srubhi_0-1656421015848.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 12:57:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-add-colour-feature-in-dashboard-which-the-value-is-in-the/m-p/603596#M13049</guid>
      <dc:creator>Srubhi</dc:creator>
      <dc:date>2022-06-28T12:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to add colour feature in dashboard which the value is in the time format</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-add-colour-feature-in-dashboard-which-the-value-is-in-the/m-p/603630#M13052</link>
      <description>&lt;P&gt;you have to edit the xml, see below as example, adjust the colours as need it&lt;/P&gt;&lt;P&gt;&amp;lt;dashboard theme="dark"&amp;gt;&lt;BR /&gt;&amp;lt;label&amp;gt;test collor pallete&amp;lt;/label&amp;gt;&lt;BR /&gt;&amp;lt;row&amp;gt;&lt;BR /&gt;&amp;lt;panel&amp;gt;&lt;BR /&gt;&amp;lt;table&amp;gt;&lt;BR /&gt;&amp;lt;search&amp;gt;&lt;BR /&gt;&amp;lt;query&amp;gt;| makeresults&lt;BR /&gt;| eval result1="-100", result2 = "23"&amp;lt;/query&amp;gt;&lt;BR /&gt;&amp;lt;earliest&amp;gt;-24h@h&amp;lt;/earliest&amp;gt;&lt;BR /&gt;&amp;lt;latest&amp;gt;now&amp;lt;/latest&amp;gt;&lt;BR /&gt;&amp;lt;/search&amp;gt;&lt;BR /&gt;&amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="result1"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="expression"&amp;gt;if(like(value,"%-%"),"#65A637", "#FF0000")&amp;lt;/colorPalette&amp;gt;&lt;BR /&gt;&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="result2"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="expression"&amp;gt;if(like(value,"%-%"),"#65A637", "#FF0000")&amp;lt;/colorPalette&amp;gt;&lt;BR /&gt;&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;BR /&gt;&amp;lt;/panel&amp;gt;&lt;BR /&gt;&amp;lt;/row&amp;gt;&lt;BR /&gt;&amp;lt;/dashboard&amp;gt;&lt;/P&gt;</description>
      <pubDate>Tue, 28 Jun 2022 16:48:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-add-colour-feature-in-dashboard-which-the-value-is-in-the/m-p/603630#M13052</guid>
      <dc:creator>preotesoiu</dc:creator>
      <dc:date>2022-06-28T16:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to add colour feature in dashboard which the value is in the time format</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise/How-to-add-colour-feature-in-dashboard-which-the-value-is-in-the/m-p/603886#M13091</link>
      <description>&lt;P&gt;thank you&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/153817"&gt;@preotesoiu&lt;/a&gt;&amp;nbsp;it worked for me!!&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 05:44:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise/How-to-add-colour-feature-in-dashboard-which-the-value-is-in-the/m-p/603886#M13091</guid>
      <dc:creator>Srubhi</dc:creator>
      <dc:date>2022-06-30T05:44:55Z</dc:date>
    </item>
  </channel>
</rss>

