<?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 change the default formatting for a table visualization? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479979#M134531</link>
    <description>&lt;P&gt;&lt;IMG src="https://www.dropbox.com/s/pvqmnuqwzf52qhi/table%20html.png?dl=0" alt="alt text" /&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 24 Apr 2020 14:00:25 GMT</pubDate>
    <dc:creator>gavinsopra</dc:creator>
    <dc:date>2020-04-24T14:00:25Z</dc:date>
    <item>
      <title>How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479974#M134526</link>
      <description>&lt;P&gt;I would like to change some of the formatting of a Statistics Table in a dashboard, specifically the following:&lt;/P&gt;

&lt;UL&gt;
&lt;LI&gt;header row background&lt;/LI&gt;
&lt;LI&gt;alternate row backgrounds&lt;/LI&gt;
&lt;LI&gt;text colour&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;I have found a number of articles that talk about changing rows or cells based on values in the table but that's not what I want.  I just need to manipulate the CSS (I guess) so that I can apply our 'house style' to the tables.&lt;/P&gt;

&lt;P&gt;I would like to apply different colour schemes to different tables in the same dashboard.&lt;BR /&gt;
I am running Splunk Enterprise 8.0.2.&lt;/P&gt;

&lt;P&gt;Is this possible?&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 14:58:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479974#M134526</guid>
      <dc:creator>gavinsopra</dc:creator>
      <dc:date>2020-04-23T14:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479975#M134527</link>
      <description>&lt;P&gt;Hi @gavinsopra!&lt;/P&gt;

&lt;P&gt;There's a lot of places here in Splunk Answers to pick up a nugget or two of information to get you where you are looking to go. Yes, it's possible. If you're familiar with CSS, it will get you a lot further. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;In this answer, &lt;A href="https://answers.splunk.com/answers/587679/how-do-i-hide-table-headers.html"&gt;https://answers.splunk.com/answers/587679/how-do-i-hide-table-headers.html&lt;/A&gt;, they go into the simple xml of their dashboard, and label their header with an id. Then they used custom css (in an html block within their panel) to style that table how they wanted. In their case, they wanted the table header hidden. In your case, you'll have whatever style on whichever table parts you decided on.&lt;/P&gt;

&lt;P&gt;To do a different table in your dashboard, use a different id, and then call it out in it's own css, and style it as you would like.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Apr 2020 17:53:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479975#M134527</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2020-04-23T17:53:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479976#M134528</link>
      <description>&lt;P&gt;efavreau,&lt;BR /&gt;
Thanks for the response.  That seems very promising and I have found the reference for the HTML tag now in the Simple XML Reference&lt;BR /&gt;
  [link text][1]&lt;/P&gt;

&lt;P&gt;I have tried this approach using the "Table Element" table from the "Splunk Dashboard Examples".&lt;BR /&gt;
It works but adding the  tag to the panel appears to cause an extra  in the table which distorts the table.  Also, only a few of my CSS changes are getting applied.&lt;/P&gt;

&lt;P&gt;Here is the simple XML for two instances of the Table Elements example side by side as separate panels in the same row.&lt;BR /&gt;
I have added my HTML 'style' to the first table and you can see the extra  appearing above the &lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 13:56:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479976#M134528</guid>
      <dc:creator>gavinsopra</dc:creator>
      <dc:date>2020-04-24T13:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479977#M134529</link>
      <description>&lt;P&gt;Bugger. None of the links nor the line code work in comments!!!&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 13:57:35 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479977#M134529</guid>
      <dc:creator>gavinsopra</dc:creator>
      <dc:date>2020-04-24T13:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479978#M134530</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
    &amp;lt;label&amp;gt;Test HTML&amp;lt;/label&amp;gt;
    &amp;lt;description&amp;gt;Create a simple table using the dashboard editor.&amp;lt;/description&amp;gt;
    &amp;lt;row&amp;gt;
      &amp;lt;panel&amp;gt;
        &amp;lt;html&amp;gt;
         &amp;lt;style&amp;gt;
           #modifyTableHeader th{
             background: #ba6e5e;
             color: white;
             font-size:28px;
           }
           #modifyTableHeader tr:nth-child(even){
             background-color: red !important;
             color: white !important;
             font-size: 20px;
           }
           #modifyTableHeader tr:nth-child(odd) {
             background-color: orange !important;
             color: white !important;
             font-size: 8px;
           }
         &amp;lt;/style&amp;gt;
       &amp;lt;/html&amp;gt;
        &amp;lt;table id="modifyTableHeader"&amp;gt;
            &amp;lt;title&amp;gt;Top Sourcetypes (Last 24 hours)&amp;lt;/title&amp;gt;
            &amp;lt;search&amp;gt;
                &amp;lt;query&amp;gt;index=_internal | top limit=100 sourcetype | eval percent = round(percent,2)&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;/search&amp;gt;
            &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
            &amp;lt;option name="rowNumbers"&amp;gt;true&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;cell&amp;lt;/option&amp;gt;
            &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;/table&amp;gt;
      &amp;lt;/panel&amp;gt;
      &amp;lt;panel&amp;gt;
        &amp;lt;table&amp;gt;
            &amp;lt;title&amp;gt;Top Sourcetypes (Last 24 hours)&amp;lt;/title&amp;gt;
            &amp;lt;search&amp;gt;
                &amp;lt;query&amp;gt;index=_internal | top limit=100 sourcetype | eval percent = round(percent,2)&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;/search&amp;gt;
            &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
            &amp;lt;option name="rowNumbers"&amp;gt;true&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;cell&amp;lt;/option&amp;gt;
            &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;/table&amp;gt;
      &amp;lt;/panel&amp;gt;
    &amp;lt;/row&amp;gt;
&amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 24 Apr 2020 13:59:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479978#M134530</guid>
      <dc:creator>gavinsopra</dc:creator>
      <dc:date>2020-04-24T13:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479979#M134531</link>
      <description>&lt;P&gt;&lt;IMG src="https://www.dropbox.com/s/pvqmnuqwzf52qhi/table%20html.png?dl=0" alt="alt text" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 14:00:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479979#M134531</guid>
      <dc:creator>gavinsopra</dc:creator>
      <dc:date>2020-04-24T14:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479980#M134532</link>
      <description>&lt;P&gt;screenshot: &lt;A href="https://www.dropbox.com/s/pvqmnuqwzf52qhi/table%20html.png?dl=0"&gt;https://www.dropbox.com/s/pvqmnuqwzf52qhi/table%20html.png?dl=0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 14:00:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479980#M134532</guid>
      <dc:creator>gavinsopra</dc:creator>
      <dc:date>2020-04-24T14:00:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479981#M134533</link>
      <description>&lt;P&gt;screen shot - &lt;A href="https://www.dropbox.com/s/pvqmnuqwzf52qhi/table%20html.png?dl=0"&gt;https://www.dropbox.com/s/pvqmnuqwzf52qhi/table%20html.png?dl=0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 14:01:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479981#M134533</guid>
      <dc:creator>gavinsopra</dc:creator>
      <dc:date>2020-04-24T14:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479982#M134534</link>
      <description>&lt;P&gt;Use the button that looks like 101010. That allows you to mark things as code. It's not perfect, but better than nothing.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 14:12:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479982#M134534</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2020-04-24T14:12:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479983#M134535</link>
      <description>&lt;P&gt;Anytime I use CSS in a dashboard, I mark it with &lt;CODE&gt;!important&lt;/CODE&gt; to make sure it overrides existing values.&lt;BR /&gt;
Some people use imgur.com or 0bin.net for screenshots. That way it doesn't take your dropbox space. I see where you change the text size in places, but not the cell/row size. Maybe that's why your table is getting misshapen.&lt;/P&gt;</description>
      <pubDate>Fri, 24 Apr 2020 14:20:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479983#M134535</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2020-04-24T14:20:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479984#M134536</link>
      <description>&lt;P&gt;Here is a simpler example.  I have added HTML which just changes the background of 'thead' but doing this seems to add and extra div above the title; notice where "Top Source (last 24 hours" appears in the two table.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
    &amp;lt;label&amp;gt;Test HTML&amp;lt;/label&amp;gt;
    &amp;lt;description&amp;gt;Create a simple table using the dashboard editor.&amp;lt;/description&amp;gt;
    &amp;lt;row&amp;gt;
      &amp;lt;panel&amp;gt;
        &amp;lt;html&amp;gt;
         &amp;lt;style&amp;gt;
           #modifyTableHeader th{
             background: #ba6e5e;
           }
         &amp;lt;/style&amp;gt;
       &amp;lt;/html&amp;gt;
        &amp;lt;table id="modifyTableHeader"&amp;gt;
            &amp;lt;title&amp;gt;Top Sourcetypes (Last 24 hours)&amp;lt;/title&amp;gt;
            &amp;lt;search&amp;gt;
                &amp;lt;query&amp;gt;index=_internal | top limit=100 sourcetype | eval percent = round(percent,2)&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;/search&amp;gt;
            &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
            &amp;lt;option name="rowNumbers"&amp;gt;true&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;cell&amp;lt;/option&amp;gt;
            &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;/table&amp;gt;
      &amp;lt;/panel&amp;gt;
      &amp;lt;panel&amp;gt;
        &amp;lt;table&amp;gt;
            &amp;lt;title&amp;gt;Top Sourcetypes (Last 24 hours)&amp;lt;/title&amp;gt;
            &amp;lt;search&amp;gt;
                &amp;lt;query&amp;gt;index=_internal | top limit=100 sourcetype | eval percent = round(percent,2)&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;/search&amp;gt;
            &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
            &amp;lt;option name="rowNumbers"&amp;gt;true&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;cell&amp;lt;/option&amp;gt;
            &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
        &amp;lt;/table&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;Screenshot here &lt;A href="https://www.dropbox.com/s/bisx7uur3drztge/table%20html%202.png?dl=0"&gt;link text&lt;/A&gt;&lt;BR /&gt;
&lt;A href="https://www.dropbox.com/s/bisx7uur3drztge/table%20html%202.png?dl=0"&gt;https://www.dropbox.com/s/bisx7uur3drztge/table%20html%202.png?dl=0&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 25 Apr 2020 13:25:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479984#M134536</guid>
      <dc:creator>gavinsopra</dc:creator>
      <dc:date>2020-04-25T13:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479985#M134537</link>
      <description>&lt;P&gt;Thank you. Very clear. What's appearing is your html section in the panel. There's a convention I've stolen from others that can hide it: &lt;CODE&gt;depends="$alwaysHideCSSPanel$"&lt;/CODE&gt;. That's what you're missing. Try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
     &amp;lt;label&amp;gt;Test HTML&amp;lt;/label&amp;gt;
     &amp;lt;description&amp;gt;Create a simple table using the dashboard editor.&amp;lt;/description&amp;gt;
     &amp;lt;row&amp;gt;
       &amp;lt;panel&amp;gt;
         &amp;lt;html depends="$alwaysHideCSSPanel$"&amp;gt;
          &amp;lt;style&amp;gt;
            #modifyTableHeader th{
              background: #ba6e5e;
            }
          &amp;lt;/style&amp;gt;
        &amp;lt;/html&amp;gt;
         &amp;lt;table id="modifyTableHeader"&amp;gt;
             &amp;lt;title&amp;gt;Top Sourcetypes (Last 24 hours)&amp;lt;/title&amp;gt;
             &amp;lt;search&amp;gt;
                 &amp;lt;query&amp;gt;index=_internal | top limit=100 sourcetype | eval percent = round(percent,2)&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;/search&amp;gt;
             &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
             &amp;lt;option name="rowNumbers"&amp;gt;true&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;cell&amp;lt;/option&amp;gt;
             &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
         &amp;lt;/table&amp;gt;
       &amp;lt;/panel&amp;gt;
       &amp;lt;panel&amp;gt;
         &amp;lt;table&amp;gt;
             &amp;lt;title&amp;gt;Top Sourcetypes (Last 24 hours)&amp;lt;/title&amp;gt;
             &amp;lt;search&amp;gt;
                 &amp;lt;query&amp;gt;index=_internal | top limit=100 sourcetype | eval percent = round(percent,2)&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;/search&amp;gt;
             &amp;lt;option name="wrap"&amp;gt;true&amp;lt;/option&amp;gt;
             &amp;lt;option name="rowNumbers"&amp;gt;true&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;cell&amp;lt;/option&amp;gt;
             &amp;lt;option name="count"&amp;gt;10&amp;lt;/option&amp;gt;
         &amp;lt;/table&amp;gt;
       &amp;lt;/panel&amp;gt;
     &amp;lt;/row&amp;gt;
 &amp;lt;/dashboard&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Apr 2020 13:08:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479985#M134537</guid>
      <dc:creator>efavreau</dc:creator>
      <dc:date>2020-04-27T13:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479986#M134538</link>
      <description>&lt;P&gt;For changing table header color try the following answer of mine. This answer also shows use of Browser Inspector for CSS Style Override. You can check out existing DOM path and corresponding bootstrap css that you need to override.: &lt;A href="https://answers.splunk.com/answers/593399/column-headers-color.html"&gt;https://answers.splunk.com/answers/593399/column-headers-color.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Do install &lt;A href="https://splunkbase.splunk.com/app/1603/"&gt;Splunk Dashboard Examples&lt;/A&gt; app from Splunkbase and check out &lt;CODE&gt;Custom Layout Dark&lt;/CODE&gt; example with &lt;CODE&gt;dark.css&lt;/CODE&gt; which lists a lot of CSS Style Selectors for various Splunk Elements including table.&lt;/P&gt;

&lt;P&gt;For &lt;CODE&gt;Splunk Style Guide including table&lt;/CODE&gt;, change your Splunk URL to the following location and check out which classes can be used for Bootstrap to work:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&lt;A href="http://&amp;lt;yourSplunkServer&amp;gt;:8000/en-US/static/docs/style/style-guide.html#tables" target="test_blank"&gt;http://&amp;lt;yourSplunkServer&amp;gt;:8000/en-US/static/docs/style/style-guide.html#tables&lt;/A&gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;For your specific query, add the following to your existing dashboard with table to test Table Header Color and Alternate row color CSS (PS: Table Cell color formatting will stop working because of this static CSS Style override):&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  &amp;lt;html depends="$alwaysHideCSSStyle$"&amp;gt;
    &amp;lt;style&amp;gt;
       .table th {
          background-image: linear-gradient(to bottom, #006297, #006297) !important;
          text-shadow: none !important;
       }
       .table th a{
          color: white !important;
       }
      table tr.odd td{
        background: #7ED2FF !important;
      }
      table tr.even td{
        background: #007ABD !important;
      }
      table tr td{
        color: #fff !important;
      }
    &amp;lt;/style&amp;gt;
  &amp;lt;/html&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Idea is to quickly test in Dashboard and once finalized move to actual CSS file.&lt;/P&gt;

&lt;P&gt;Please try out and confirm!&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 13:48:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479986#M134538</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2020-04-27T13:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to change the default formatting for a table visualization?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479987#M134539</link>
      <description>&lt;P&gt;efavreau,&lt;/P&gt;

&lt;P&gt;That works.   I have accepted your answer (but the system won't allow me to award points).&lt;/P&gt;

&lt;P&gt;I will raise new questions about problems applying styles using this technic to all parts of the table (even '! important' didn't work when trying to set background in the  elements)&lt;/P&gt;

&lt;P&gt;Many thanks,&lt;BR /&gt;
Gavin&lt;/P&gt;</description>
      <pubDate>Tue, 28 Apr 2020 08:03:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-to-change-the-default-formatting-for-a-table-visualization/m-p/479987#M134539</guid>
      <dc:creator>gavinsopra</dc:creator>
      <dc:date>2020-04-28T08:03:43Z</dc:date>
    </item>
  </channel>
</rss>

