<?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: font-size of a table in XML code of splunk dashboard in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454558#M29804</link>
    <description>&lt;P&gt;Another way, you create a CSS file with the above style and import to your dashboard&lt;/P&gt;</description>
    <pubDate>Fri, 22 Mar 2019 06:53:39 GMT</pubDate>
    <dc:creator>vnravikumar</dc:creator>
    <dc:date>2019-03-22T06:53:39Z</dc:date>
    <item>
      <title>font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454550#M29796</link>
      <description>&lt;P&gt;How to change font-size of a table in XML code of splunk dashboard. Curious to know if there is any  that can be used?&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 04:33:56 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454550#M29796</guid>
      <dc:creator>juhisaxena28</dc:creator>
      <dc:date>2019-03-22T04:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454551#M29797</link>
      <description>&lt;P&gt;@juhisaxena28 ,&lt;/P&gt;

&lt;P&gt;You can do this by adding little css to your XML . See below post from @niketnilay &lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/665108/how-to-change-font-size-of-texts-inside-table-usin.html"&gt;https://answers.splunk.com/answers/665108/how-to-change-font-size-of-texts-inside-table-usin.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Just add this part to your XML&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;       &amp;lt;row depends="$alwaysHideCSSPanel$"&amp;gt;
         &amp;lt;panel&amp;gt;
           &amp;lt;html&amp;gt;
             &amp;lt;style&amp;gt;
               table tbody tr td{
                 font-size:150% !important;
               }
             &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;</description>
      <pubDate>Fri, 22 Mar 2019 04:50:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454551#M29797</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-03-22T04:50:39Z</dc:date>
    </item>
    <item>
      <title>Re: font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454552#M29798</link>
      <description>&lt;P&gt;Exactly where do i need to add this code. Can this be achieved by CSS only.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 05:08:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454552#M29798</guid>
      <dc:creator>juhisaxena28</dc:creator>
      <dc:date>2019-03-22T05:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454553#M29799</link>
      <description>&lt;P&gt;anywhere in the xml , probably just above your row table element to have readability&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 05:12:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454553#M29799</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-03-22T05:12:38Z</dc:date>
    </item>
    <item>
      <title>Re: font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454554#M29800</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;dashboard&amp;gt;
  &amp;lt;label&amp;gt;table&amp;lt;/label&amp;gt;
  &amp;lt;row&amp;gt;
    &amp;lt;panel&amp;gt;
      &amp;lt;table id="test"&amp;gt;
        &amp;lt;search&amp;gt;
          &amp;lt;query&amp;gt;index="_internal" |stats count by host&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="drilldown"&amp;gt;none&amp;lt;/option&amp;gt;
      &amp;lt;/table&amp;gt;
    &amp;lt;/panel&amp;gt;
  &amp;lt;/row&amp;gt;
  &amp;lt;row depends="$hide$"&amp;gt;
          &amp;lt;panel&amp;gt;
            &amp;lt;html&amp;gt;
              &amp;lt;style&amp;gt;

                #test th{
                   font-size: 15px !important;
                   font-weight: bold !important;
                }
               #test td{
                 font-size: 13px !important;

                }
              &amp;lt;/style&amp;gt;
            &amp;lt;/html&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, 22 Mar 2019 05:13:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454554#M29800</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-22T05:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454555#M29801</link>
      <description>&lt;P&gt;it works , but it creates a new panel as well [with No title] after the panel where effect is applied to. &lt;BR /&gt;
Code is like :-&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;/panel&amp;gt;


      &amp;lt;panel&amp;gt;
        &amp;lt;html&amp;gt;
          &amp;lt;style&amp;gt;
            table tbody tr td{
              font-size:150% !important;
            }
          &amp;lt;/style&amp;gt;
        &amp;lt;/html&amp;gt;
      &amp;lt;/panel&amp;gt;
    &amp;lt;/row&amp;gt;
         &amp;lt;row&amp;gt;
&amp;lt;panel&amp;gt;
  &amp;lt;title&amp;gt;Search Logs&amp;lt;/title&amp;gt;
  &amp;lt;input type="text" token="searchKeyword" searchWhenChanged="true"&amp;gt;
    &amp;lt;label&amp;gt;Search Keyword&amp;lt;/label&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Mar 2019 06:30:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454555#M29801</guid>
      <dc:creator>juhisaxena28</dc:creator>
      <dc:date>2019-03-22T06:30:27Z</dc:date>
    </item>
    <item>
      <title>Re: font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454556#M29802</link>
      <description>&lt;P&gt;Hide that panel with  some dummy token like depends="$hide$"&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 06:33:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454556#M29802</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-22T06:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454557#M29803</link>
      <description>&lt;P&gt;Code is like below, but panel still exists.&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;panel depends="$Hide$"&amp;gt;
        &amp;lt;html&amp;gt;
          &amp;lt;style&amp;gt;
            table tbody tr td{
              font-size:150% !important;
            }
          &amp;lt;/style&amp;gt;
        &amp;lt;/html&amp;gt;
      &amp;lt;/panel&amp;gt;
    &amp;lt;/row&amp;gt;
         &amp;lt;row&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 22 Mar 2019 06:47:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454557#M29803</guid>
      <dc:creator>juhisaxena28</dc:creator>
      <dc:date>2019-03-22T06:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454558#M29804</link>
      <description>&lt;P&gt;Another way, you create a CSS file with the above style and import to your dashboard&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 06:53:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454558#M29804</guid>
      <dc:creator>vnravikumar</dc:creator>
      <dc:date>2019-03-22T06:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454559#M29805</link>
      <description>&lt;P&gt;@juhisaxena28 , instead of adding it as a panel , just add the entire content as separate row - just copy paste the original snippet to your XML dashboard&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 06:55:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454559#M29805</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2019-03-22T06:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454560#M29806</link>
      <description>&lt;P&gt;It all worked. Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 07:02:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454560#M29806</guid>
      <dc:creator>juhisaxena28</dc:creator>
      <dc:date>2019-03-22T07:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454561#M29807</link>
      <description>&lt;P&gt;above method worked as well. Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 07:02:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454561#M29807</guid>
      <dc:creator>juhisaxena28</dc:creator>
      <dc:date>2019-03-22T07:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454562#M29808</link>
      <description>&lt;P&gt;@juhisaxena28, over here on answers we provide solution with CSS extension within Dashboard simple XML code as it is easier to implement a run anywhere example. However, with the intended behavior of CSS to be generic and re-usable you should make necessary changes and move the CSS code to a css file which should be saved under /appserver/static folder of your app and stylesheet reference should be added to the Simple XML dashboard. (or moved to dashboard.css in case style is truly generic and needs to be applied to all dashboards in the app without having to add reference to the css file in each dashbaord/s).&lt;/P&gt;

&lt;P&gt;You should check out Splunk Dashboard Examples App from Splunkbase and Splunk Documentation for Simple XML CSS extension examples.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 08:37:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454562#M29808</guid>
      <dc:creator>niketn</dc:creator>
      <dc:date>2019-03-22T08:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: font-size of a table in XML code of splunk dashboard</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454563#M29809</link>
      <description>&lt;P&gt;Thank you for your advise.&lt;/P&gt;</description>
      <pubDate>Fri, 22 Mar 2019 09:06:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/font-size-of-a-table-in-XML-code-of-splunk-dashboard/m-p/454563#M29809</guid>
      <dc:creator>juhisaxena28</dc:creator>
      <dc:date>2019-03-22T09:06:22Z</dc:date>
    </item>
  </channel>
</rss>

