<?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: Changing font color on a row based on a specific value in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-on-a-row-based-on-a-specific-value/m-p/644008#M52584</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256958"&gt;@mmwells&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;following post might help you&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-based-on-a-condition-for-a-particular/m-p/487257" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-based-on-a-condition-for-a-particular/m-p/487257&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----&lt;BR /&gt;Regards,&lt;BR /&gt;Sanjay Reddy&lt;/P&gt;&lt;P&gt;----&lt;BR /&gt;If this reply helps you, Karma would be appreciated&lt;/P&gt;</description>
    <pubDate>Sat, 20 May 2023 10:19:56 GMT</pubDate>
    <dc:creator>SanjayReddy</dc:creator>
    <dc:date>2023-05-20T10:19:56Z</dc:date>
    <item>
      <title>How to change font color on a row based on a specific value?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-on-a-row-based-on-a-specific-value/m-p/644007#M52583</link>
      <description>&lt;P&gt;I am trying to write simple XML code that will evaluate a field value and change the font color for the row that contains the value. I only need to evaluate two conditions. Alarm or clear. I am new to xml. I could really use some help.&lt;/P&gt;</description>
      <pubDate>Mon, 22 May 2023 12:46:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-on-a-row-based-on-a-specific-value/m-p/644007#M52583</guid>
      <dc:creator>mmwells</dc:creator>
      <dc:date>2023-05-22T12:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: Changing font color on a row based on a specific value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-on-a-row-based-on-a-specific-value/m-p/644008#M52584</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256958"&gt;@mmwells&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;following post might help you&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-based-on-a-condition-for-a-particular/m-p/487257" target="_blank"&gt;https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-based-on-a-condition-for-a-particular/m-p/487257&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;----&lt;BR /&gt;Regards,&lt;BR /&gt;Sanjay Reddy&lt;/P&gt;&lt;P&gt;----&lt;BR /&gt;If this reply helps you, Karma would be appreciated&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 10:19:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-on-a-row-based-on-a-specific-value/m-p/644008#M52584</guid>
      <dc:creator>SanjayReddy</dc:creator>
      <dc:date>2023-05-20T10:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Changing font color on a row based on a specific value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-on-a-row-based-on-a-specific-value/m-p/644009#M52585</link>
      <description>&lt;P&gt;Sanjay,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried that but when I tried to validate the code there was an error. I'm not sure how to proceed. I am quite new to using XML.&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 10:23:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-on-a-row-based-on-a-specific-value/m-p/644009#M52585</guid>
      <dc:creator>mmwells</dc:creator>
      <dc:date>2023-05-20T10:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Changing font color on a row based on a specific value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-on-a-row-based-on-a-specific-value/m-p/644012#M52587</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/256958"&gt;@mmwells&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Can you please share the error you are getting?.&lt;BR /&gt;&lt;BR /&gt;also please find following XML code i found it in community last time.&lt;BR /&gt;using this create a dashboard , and update the query and clour as needed&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;sample output&amp;nbsp;&lt;/STRONG&gt;&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="SanjayReddy_0-1684578635079.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/25484i41BD6D0EDE6FD04A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="SanjayReddy_0-1684578635079.png" alt="SanjayReddy_0-1684578635079.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;dashboard version="1.1"&amp;gt;&lt;BR /&gt;&amp;lt;label&amp;gt;Colour entire row based on value&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;html depends="$alwaysHideHTMLCSSPanel$"&amp;gt;&lt;BR /&gt;&amp;lt;style&amp;gt;&lt;BR /&gt;#tableColorFinalRowBasedOnData table tbody td div.multivalue-subcell[data-mv-index="1"]{&lt;BR /&gt;display: none;&lt;BR /&gt;}&lt;BR /&gt;&amp;lt;/style&amp;gt;&lt;BR /&gt;&amp;lt;/html&amp;gt;&lt;BR /&gt;&amp;lt;table id="tableColorFinalRowBasedOnData"&amp;gt;&lt;BR /&gt;&amp;lt;search&amp;gt;&lt;BR /&gt;&amp;lt;query&amp;gt;index=_internal source="C:\\Program Files\\Splunk\\var\\log\\splunk\\splunkd.log"&lt;BR /&gt;| stats count by component log_level&lt;/P&gt;&lt;P&gt;| eval color=case(log_level="INFO","#00FF00",log_level="WARN","#FFBF00",log_level="ERROR","#FF0000")&lt;BR /&gt;| foreach component log_level count [ eval &amp;amp;lt;&amp;amp;lt;FIELD&amp;amp;gt;&amp;amp;gt;=mvappend('&amp;amp;lt;&amp;amp;lt;FIELD&amp;amp;gt;&amp;amp;gt;',color)]&lt;BR /&gt;| fields - color&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;sampleRatio&amp;gt;1&amp;lt;/sampleRatio&amp;gt;&lt;BR /&gt;&amp;lt;/search&amp;gt;&lt;BR /&gt;&amp;lt;option name="count"&amp;gt;100&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="dataOverlayMode"&amp;gt;none&amp;lt;/option&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="percentagesRow"&amp;gt;false&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;option name="rowNumbers"&amp;gt;false&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="totalsRow"&amp;gt;false&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="log_level"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="expression"&amp;gt;mvindex(value,1)&amp;lt;/colorPalette&amp;gt;&lt;BR /&gt;&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="component"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="expression"&amp;gt;mvindex(value,1)&amp;lt;/colorPalette&amp;gt;&lt;BR /&gt;&amp;lt;/format&amp;gt;&lt;BR /&gt;&amp;lt;format type="color" field="count"&amp;gt;&lt;BR /&gt;&amp;lt;colorPalette type="expression"&amp;gt;mvindex(value,1)&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;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;----&lt;BR /&gt;Regards,&lt;BR /&gt;Sanjay Reddy&lt;/P&gt;&lt;P&gt;----&lt;BR /&gt;If this reply helps you, Karma would be appreciated&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 10:32:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-on-a-row-based-on-a-specific-value/m-p/644012#M52587</guid>
      <dc:creator>SanjayReddy</dc:creator>
      <dc:date>2023-05-20T10:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Changing font color on a row based on a specific value</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-on-a-row-based-on-a-specific-value/m-p/644013#M52588</link>
      <description>&lt;P&gt;This one was able to validate. But it doesn't give me quite what I'm looking for. It changes the row color and I just want to change the font color.&lt;/P&gt;</description>
      <pubDate>Sat, 20 May 2023 10:35:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-change-font-color-on-a-row-based-on-a-specific-value/m-p/644013#M52588</guid>
      <dc:creator>mmwells</dc:creator>
      <dc:date>2023-05-20T10:35:39Z</dc:date>
    </item>
  </channel>
</rss>

