<?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 Font Color in Dashboard Table in Splunk ITSI</title>
    <link>https://community.splunk.com/t5/Splunk-ITSI/How-to-change-font-color-in-dashboard-table/m-p/590293#M2476</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need your assistance similar to the topic of this thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table which has two columns: - Color and Description&lt;/P&gt;&lt;P&gt;I created the table with following SPL: -&lt;/P&gt;&lt;LI-CODE lang="markup"&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 Color="0", Description="Color = 0"
|append
[| makeresults
eval Legend=""
|eval Color="-1", Description="Color = -1"]| append
[| makeresults |
eval Color="1", Description="Color = 1"] | table Color, Description | sort Color
&amp;lt;/query&amp;gt;
			&amp;lt;/search&amp;gt;
			&amp;lt;format type="color" field="Color"&amp;gt;
				&amp;lt;colorPalette type="map"&amp;gt;{"0":#4FA484,"-1":#AF575A,"1":#006D9C}&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;&lt;/LI-CODE&gt;&lt;P&gt;It gives a table with two columns, the first column has color in each cell based on the value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to make text color same as the respective background color so that text can be hidden. Thus, need your guidance related to it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="table.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18692i42F2760B1A75BB86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="table.png" alt="table.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Tue, 22 Mar 2022 19:00:00 GMT</pubDate>
    <dc:creator>Taruchit</dc:creator>
    <dc:date>2022-03-22T19:00:00Z</dc:date>
    <item>
      <title>How to change font color in dashboard table?</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/How-to-change-font-color-in-dashboard-table/m-p/481933#M1807</link>
      <description>&lt;P&gt;Hi, I'm looking to change the font of a statistics table within my dashboard. &lt;BR /&gt;It defaults at white, but when you edit the drilldown to allow clicks, it defaults to blue and is much harder to read at a distance.&lt;/P&gt;
&lt;P&gt;Is there any way you know of to change this back?&lt;/P&gt;
&lt;P&gt;(Notes: I tried charting.fontColor, but it is not compatible with stats tables apparently. Also I am using Splunk Cloud and do not have direct access to config/css files)&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 04:11:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/How-to-change-font-color-in-dashboard-table/m-p/481933#M1807</guid>
      <dc:creator>logankinman99</dc:creator>
      <dc:date>2022-03-23T04:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Change Font Color in Dashboard Table</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/How-to-change-font-color-in-dashboard-table/m-p/481934#M1808</link>
      <description>&lt;P&gt;Do you mean a glass table? Or a separate dashboard within ITSI? Also what version?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2019 20:49:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/How-to-change-font-color-in-dashboard-table/m-p/481934#M1808</guid>
      <dc:creator>esnyder_splunk</dc:creator>
      <dc:date>2019-11-22T20:49:05Z</dc:date>
    </item>
    <item>
      <title>Re: Change Font Color in Dashboard Table</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/How-to-change-font-color-in-dashboard-table/m-p/481935#M1809</link>
      <description>&lt;P&gt;You can add css within your dashboard without the need for installing css or javascript files. Add this to the SimpleXML&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;row&amp;gt;
    &amp;lt;panel depends="$hidden$"&amp;gt;
      &amp;lt;html&amp;gt;
        &amp;lt;style&amp;gt;
          table th td {
  color:#4f34eb;
}
          table tr td {
  color:#fc0303;
}

table.table-drilldown tr td {
color:#000000;
}

        &amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
    &amp;lt;/panel&amp;gt;
    &amp;lt;/row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Change the values of color to whatever you want.&lt;BR /&gt;
&lt;CODE&gt;table th td&lt;/CODE&gt; This section is for the table headers&lt;BR /&gt;
&lt;CODE&gt;table tr td&lt;/CODE&gt; This section is for the table rows&lt;BR /&gt;
&lt;CODE&gt;table.table-drilldown tr td&lt;/CODE&gt; This section is for the table rows when you have a drilldown&lt;/P&gt;

&lt;P&gt;You don't need to use all 3. Use whichever you want to modify&lt;/P&gt;

&lt;P&gt;hope this helps&lt;/P&gt;</description>
      <pubDate>Sat, 23 Nov 2019 14:52:33 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/How-to-change-font-color-in-dashboard-table/m-p/481935#M1809</guid>
      <dc:creator>arjunpkishore5</dc:creator>
      <dc:date>2019-11-23T14:52:33Z</dc:date>
    </item>
    <item>
      <title>Re: Change Font Color in Dashboard Table</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/How-to-change-font-color-in-dashboard-table/m-p/590293#M2476</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I need your assistance similar to the topic of this thread.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a table which has two columns: - Color and Description&lt;/P&gt;&lt;P&gt;I created the table with following SPL: -&lt;/P&gt;&lt;LI-CODE lang="markup"&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 Color="0", Description="Color = 0"
|append
[| makeresults
eval Legend=""
|eval Color="-1", Description="Color = -1"]| append
[| makeresults |
eval Color="1", Description="Color = 1"] | table Color, Description | sort Color
&amp;lt;/query&amp;gt;
			&amp;lt;/search&amp;gt;
			&amp;lt;format type="color" field="Color"&amp;gt;
				&amp;lt;colorPalette type="map"&amp;gt;{"0":#4FA484,"-1":#AF575A,"1":#006D9C}&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;&lt;/LI-CODE&gt;&lt;P&gt;It gives a table with two columns, the first column has color in each cell based on the value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to make text color same as the respective background color so that text can be hidden. Thus, need your guidance related to it.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="table.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/18692i42F2760B1A75BB86/image-size/medium?v=v2&amp;amp;px=400" role="button" title="table.png" alt="table.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 22 Mar 2022 19:00:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/How-to-change-font-color-in-dashboard-table/m-p/590293#M2476</guid>
      <dc:creator>Taruchit</dc:creator>
      <dc:date>2022-03-22T19:00:00Z</dc:date>
    </item>
    <item>
      <title>Re: Change Font Color in Dashboard Table</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/How-to-change-font-color-in-dashboard-table/m-p/704096#M2977</link>
      <description>&lt;P&gt;So far pretty useful to my dashboard but do you know how to add conditions&amp;nbsp; as such :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;LogLevel : INFO -&amp;gt; &lt;FONT color="#0000FF"&gt;Blue&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;LogLevel : WARRNING -&amp;gt; &lt;FONT color="#FFCC00"&gt;Yellow&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;LogLevel : Error -&amp;gt; &lt;FONT color="#FF0000"&gt;Red&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="630.PNG" style="width: 999px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33436i1C8C079462FEBB79/image-size/large?v=v2&amp;amp;px=999" role="button" title="630.PNG" alt="630.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Nov 2024 14:41:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/How-to-change-font-color-in-dashboard-table/m-p/704096#M2977</guid>
      <dc:creator>a1bg503461</dc:creator>
      <dc:date>2024-11-11T14:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Change Font Color in Dashboard Table</title>
      <link>https://community.splunk.com/t5/Splunk-ITSI/How-to-change-font-color-in-dashboard-table/m-p/705288#M2981</link>
      <description>&lt;P&gt;We are using Splunk Enterprise Version: 9.3.1 and we need it for Classic Dashboard&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;What I managed to put together is this :&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;      &amp;lt;html&amp;gt;
      &amp;lt;style type="text/css"&amp;gt;
        

table tr:nth-child(odd) td{color: red;
}
table tr:nth-child(even) td{color: green;
}

&amp;lt;/style&amp;gt;
      &amp;lt;/html&amp;gt;
&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;It looks like this :&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="a1bg503461_0-1732627093838.png" style="width: 400px;"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/33593i6B1F45236700B74B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="a1bg503461_0-1732627093838.png" alt="a1bg503461_0-1732627093838.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What I actually need is to Select rows Containing&amp;nbsp; INFO / ERROR / WARNING and color them RED , BLUE , YELLOW&lt;/P&gt;</description>
      <pubDate>Tue, 26 Nov 2024 13:18:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-ITSI/How-to-change-font-color-in-dashboard-table/m-p/705288#M2981</guid>
      <dc:creator>a1bg503461</dc:creator>
      <dc:date>2024-11-26T13:18:58Z</dc:date>
    </item>
  </channel>
</rss>

