<?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: Want to add color to table fields in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/746909#M58752</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/274756"&gt;@Ashish0405&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you have to follow the same process.&lt;/P&gt;&lt;P&gt;or copy the option&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;format type="color" field="Severity"&amp;gt;
     &amp;lt;colorPalette type="map"&amp;gt; 
 {"failed":#D93F3C,"finished":#31A35F,"Critical":#D93F3C,"Informational":#31A35F}&amp;lt;/colorPalette&amp;gt;
&amp;lt;/format&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;obviously changing the values of the Severity field.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
    <pubDate>Mon, 26 May 2025 10:04:08 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2025-05-26T10:04:08Z</dc:date>
    <item>
      <title>Want to add color to table fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/746908#M58751</link>
      <description>&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have added Red &amp;amp; Green color to Status column, I want to add the same to severity column as well.&lt;/P&gt;&lt;P&gt;Can some one suggest me some commands&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have used below commands to add color to status field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;option name="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="Status"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="map"&amp;gt;{"failed":#D93F3C,"finished":#31A35F,"Critical":#D93F3C,"Informational":#31A35F}&amp;lt;/colorPalette&amp;gt;&lt;BR /&gt;&amp;lt;/format&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Ashish0405_0-1748253414216.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39144i3D20A891128287C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Ashish0405_0-1748253414216.png" alt="Ashish0405_0-1748253414216.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 09:58:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/746908#M58751</guid>
      <dc:creator>Ashish0405</dc:creator>
      <dc:date>2025-05-26T09:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Want to add color to table fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/746909#M58752</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/274756"&gt;@Ashish0405&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you have to follow the same process.&lt;/P&gt;&lt;P&gt;or copy the option&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;format type="color" field="Severity"&amp;gt;
     &amp;lt;colorPalette type="map"&amp;gt; 
 {"failed":#D93F3C,"finished":#31A35F,"Critical":#D93F3C,"Informational":#31A35F}&amp;lt;/colorPalette&amp;gt;
&amp;lt;/format&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;obviously changing the values of the Severity field.&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 10:04:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/746909#M58752</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-05-26T10:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: Want to add color to table fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/746922#M58754</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/274756"&gt;@Ashish0405&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiran_panchavat_0-1748263747227.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39147i37E5372742321EEE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiran_panchavat_0-1748263747227.png" alt="kiran_panchavat_0-1748263747227.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="kiran_panchavat_1-1748263763485.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39148iF271FEAF74FC5F6A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="kiran_panchavat_1-1748263763485.png" alt="kiran_panchavat_1-1748263763485.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&amp;lt;dashboard version="1.1"&amp;gt;&lt;BR /&gt;&amp;lt;label&amp;gt;Status &amp;amp;amp; Severity Coloring&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;title&amp;gt;Test Status and Severity&amp;lt;/title&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;&lt;BR /&gt;&amp;lt;![CDATA[&lt;BR /&gt;| makeresults count=4&lt;BR /&gt;| streamstats count as id&lt;BR /&gt;| eval Status=case(id==1, "failed", id==2, "finished", id==3, "finished", 1==1, "failed")&lt;BR /&gt;| eval Severity=case(id==1, "Critical", id==2, "Informational", id==3, "Critical", 1==1, "Informational")&lt;BR /&gt;]]&amp;gt;&lt;BR /&gt;&amp;lt;/query&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;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="Status"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="map"&amp;gt;{&amp;amp;quot;failed&amp;amp;quot;:&amp;amp;quot;#D93F3C&amp;amp;quot;,&amp;amp;quot;finished&amp;amp;quot;:&amp;amp;quot;#31A35F&amp;amp;quot;}&amp;lt;/colorPalette&amp;gt;&lt;BR /&gt;&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="Severity"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="map"&amp;gt;{&amp;amp;quot;Critical&amp;amp;quot;:&amp;amp;quot;#D93F3C&amp;amp;quot;,&amp;amp;quot;Informational&amp;amp;quot;:&amp;amp;quot;#31A35F&amp;amp;quot;}&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;/PRE&gt;</description>
      <pubDate>Mon, 26 May 2025 12:50:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/746922#M58754</guid>
      <dc:creator>kiran_panchavat</dc:creator>
      <dc:date>2025-05-26T12:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: Want to add color to table fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/746929#M58757</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/274756"&gt;@Ashish0405&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Just add another &amp;lt;format&amp;gt; under the existing one such as:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;        &amp;lt;format type="color" field="Severity"&amp;gt;
          &amp;lt;colorPalette type="map"&amp;gt;{"Critical":#D93F3C,"Informational":#31A35F}&amp;lt;/colorPalette&amp;gt;
        &amp;lt;/format&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="livehybrid_0-1748275483182.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/39149i3B8C994C9DFD7314/image-size/medium?v=v2&amp;amp;px=400" role="button" title="livehybrid_0-1748275483182.png" alt="livehybrid_0-1748275483182.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Full example:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;dashboard version="1.1"&amp;gt;
  &amp;lt;label&amp;gt;Demo&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;|makeresults | eval Status="failed", Severity="Critical"
| append [makeresults | eval Status="finished", Severity="Informational"]&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="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
        &amp;lt;option name="refresh.display"&amp;gt;progressbar&amp;lt;/option&amp;gt;
        &amp;lt;format type="color" field="Status"&amp;gt;
          &amp;lt;colorPalette type="map"&amp;gt;{"failed":#D93F3C,"finished":#31A35F,"Critical":#D93F3C,"Informational":#31A35F}&amp;lt;/colorPalette&amp;gt;
        &amp;lt;/format&amp;gt;
        &amp;lt;format type="color" field="Severity"&amp;gt;
          &amp;lt;colorPalette type="map"&amp;gt;{"Critical":#D93F3C,"Informational":#31A35F}&amp;lt;/colorPalette&amp;gt;
        &amp;lt;/format&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":glowing_star:"&gt;🌟&lt;/span&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Did this answer help you?&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;If so, please consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Adding karma to show it was useful&lt;/LI&gt;&lt;LI&gt;Marking it as the solution if it resolved your issue&lt;/LI&gt;&lt;LI&gt;Commenting if you need any clarification&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Your feedback encourages the volunteers in this community to continue contributing&lt;/P&gt;&lt;P&gt;Edit - Sorry just seen the other replies which I hadnt noticed before, not meaning to step on others toes!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 26 May 2025 16:05:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/746929#M58757</guid>
      <dc:creator>livehybrid</dc:creator>
      <dc:date>2025-05-26T16:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Want to add color to table fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/747321#M58769</link>
      <description>&lt;P&gt;Thank you, that's worked&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 06:02:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/747321#M58769</guid>
      <dc:creator>Ashish0405</dc:creator>
      <dc:date>2025-06-02T06:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Want to add color to table fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/747322#M58770</link>
      <description>&lt;P&gt;Thank you that's worked&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 06:02:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/747322#M58770</guid>
      <dc:creator>Ashish0405</dc:creator>
      <dc:date>2025-06-02T06:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Want to add color to table fields</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/747324#M58771</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/274756"&gt;@Ashish0405&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;good for you, see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated by all the contributors &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 02 Jun 2025 06:36:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Want-to-add-color-to-table-fields/m-p/747324#M58771</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2025-06-02T06:36:11Z</dc:date>
    </item>
  </channel>
</rss>

