<?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: Unable to customize dashboard with CSS in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37240#M1701</link>
    <description>&lt;P&gt;Finally figured it out - after adding a new CSS file, you will have to &lt;STRONG&gt;RESTART SPLUNKWEB&lt;/STRONG&gt;, then splunk will read the new css.  &lt;/P&gt;

&lt;P&gt;The documentation said you don't have to restart splunk, but didn't mention splunkweb has to be restarted.&lt;/P&gt;</description>
    <pubDate>Thu, 26 Aug 2010 08:05:39 GMT</pubDate>
    <dc:creator>clincg</dc:creator>
    <dc:date>2010-08-26T08:05:39Z</dc:date>
    <item>
      <title>Unable to customize dashboard with CSS</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37235#M1696</link>
      <description>&lt;P&gt;Hi - I'm trying to customize the look of my dashboard using customized CSS files described in &lt;A href="http://www.splunk.com/base/Documentation/4.1.4/Developer/UseCSS" rel="nofollow"&gt;http://www.splunk.com/base/Documentation/4.1.4/Developer/UseCSS&lt;/A&gt;.  I followed the instruction and put "mycss.css" file to the $SPLUNK_HOME/etc/apps//appserver/static/ directory and added stylesheet="mycss.css" to the view tag of the advanced xml file. &lt;/P&gt;

&lt;P&gt;However, when I try to load the dashboard, it looks like "mycss.css" is being ignored and none of the customizations in the file is being displayed.  The css file is not showing up in Firebug's CSS tab.&lt;/P&gt;

&lt;P&gt;Is there any way I can check and see if the dashboard is able to read my css file?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2010 02:01:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37235#M1696</guid>
      <dc:creator>clincg</dc:creator>
      <dc:date>2010-08-26T02:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to customize dashboard with CSS</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37236#M1697</link>
      <description>&lt;P&gt;Did you intentionally leave the app name out of the path? &lt;/P&gt;

&lt;P&gt;It should look more like:&lt;BR /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;$SPLUNK_HOME/etc/apps/YOURAPPHERE/appserver/static/mycss.css&lt;/P&gt;

&lt;P&gt;There are two Firefox extensions that are a big help with this sort of thing -- &lt;A href="http://getfirebug.com/" rel="nofollow"&gt;Firebug&lt;/A&gt; and &lt;A href="https://addons.mozilla.org/en-US/firefox/addon/46211/" rel="nofollow"&gt;CSS Reloader&lt;/A&gt;.&lt;/P&gt;

&lt;P&gt;Once you've installed Firebug, hit F12 to bring up the controls and click on the CSS tab. Just below the tabs you'll have a little blue/grey bar that shows the name of one of your CSS files. Hit the down arrow next to that and you can see all of the stylesheets that have been loaded. Choose the stylesheet you want, and it will show you the CSS body.&lt;/P&gt;

&lt;P&gt;CSS Reloader makes it easier to make changes and see the result on the fly, without having to wait for the whole page to reload. Once you've installed the add-on, hit F9 to re-apply the stylesheet.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2010 02:09:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37236#M1697</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2010-08-26T02:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to customize dashboard with CSS</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37237#M1698</link>
      <description>&lt;P&gt;yeah, the app name got truncated when I paste the directory.  I did put it in $SPLUNK_HOME/etc/apps/YOURAPPHERE/appserver/static/.  I'm already using Firebug and the css tab is not showing the mycss.css file is being loaded.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2010 02:23:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37237#M1698</guid>
      <dc:creator>clincg</dc:creator>
      <dc:date>2010-08-26T02:23:16Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to customize dashboard with CSS</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37238#M1699</link>
      <description>&lt;P&gt;When you go to your dashboard, try adding ?showsource=1 to the URL.&lt;/P&gt;

&lt;P&gt;Do you see the stylesheet listed under properties?&lt;BR /&gt;
    ...&lt;BR /&gt;
    * stylesheet: eventsearch.css&lt;BR /&gt;
    * template: dashboard.html&lt;BR /&gt;
    ... etc. ...&lt;/P&gt;

&lt;P&gt;If it's missing, maybe you have more than one version of the file floating around?  If you've edited the file via the manager you could have an additional copy in local or default that's overriding it.&lt;/P&gt;

&lt;P&gt;Also, I don't think Splunk will load the CSS across apps. If your browser url is under the search app, but the dashboard is under YOURAPPHERE, it may not find the stylesheet.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2010 02:51:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37238#M1699</guid>
      <dc:creator>southeringtonp</dc:creator>
      <dc:date>2010-08-26T02:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to customize dashboard with CSS</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37239#M1700</link>
      <description>&lt;P&gt;I do see the "# stylesheet: mycss.css" when I use the showsource=1, just that they do not have any effects on the display.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2010 04:00:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37239#M1700</guid>
      <dc:creator>clincg</dc:creator>
      <dc:date>2010-08-26T04:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to customize dashboard with CSS</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37240#M1701</link>
      <description>&lt;P&gt;Finally figured it out - after adding a new CSS file, you will have to &lt;STRONG&gt;RESTART SPLUNKWEB&lt;/STRONG&gt;, then splunk will read the new css.  &lt;/P&gt;

&lt;P&gt;The documentation said you don't have to restart splunk, but didn't mention splunkweb has to be restarted.&lt;/P&gt;</description>
      <pubDate>Thu, 26 Aug 2010 08:05:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37240#M1701</guid>
      <dc:creator>clincg</dc:creator>
      <dc:date>2010-08-26T08:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to customize dashboard with CSS</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37241#M1702</link>
      <description>&lt;P&gt;You do not need to restart splunkweb. Typically the old rendering of the page is cached in the browser and all that's needed is a page refresh. That should be all you need if the only changes are CSS modifications, or changes to simple XML.&lt;/P&gt;</description>
      <pubDate>Sun, 03 Oct 2010 08:22:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37241#M1702</guid>
      <dc:creator>IT_Bullgod</dc:creator>
      <dc:date>2010-10-03T08:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to customize dashboard with CSS</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37242#M1703</link>
      <description>&lt;P&gt;Changees to simple XML (and complex XML) do require a require a refresh of the app home page, e.g. &lt;CODE&gt;&lt;A href="http://localhost:8000/en-US/app/myappname/" target="test_blank"&gt;http://localhost:8000/en-US/app/myappname/&lt;/A&gt;&lt;/CODE&gt;. There are also REST endpoints to trigger refreshes, and a "bump" REST endpoint to force browsers to reload resources even if the user does not clear/reload the cache: &lt;A href="http://www.splunk.com/base/Documentation/4.1.5/Developer/CustomizationOptions#Useful_URIs_for_customization"&gt;http://www.splunk.com/base/Documentation/4.1.5/Developer/CustomizationOptions#Useful_URIs_for_customization&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Oct 2010 23:21:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37242#M1703</guid>
      <dc:creator>gkanapathy</dc:creator>
      <dc:date>2010-10-03T23:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to customize dashboard with CSS</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37243#M1704</link>
      <description>&lt;P&gt;You do need to restart splunkweb the first time you add a stylesheet. Otherwise the changes won't appear. After that, just refreshing the page will reflect any changes you make to your stylesheet.&lt;BR /&gt;
And this should really be indicated in the Splunk documentation. I spent hours trying to figure out if I was writing wrong code in my new stylesheet, or if it was in the wrong location on the splunk server.&lt;BR /&gt;
Please Splunk people update the help docs.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Oct 2011 17:30:11 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37243#M1704</guid>
      <dc:creator>sansay</dc:creator>
      <dc:date>2011-10-28T17:30:11Z</dc:date>
    </item>
    <item>
      <title>Re: Unable to customize dashboard with CSS</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37244#M1705</link>
      <description>&lt;P&gt;This also applies to renaming a CSS file.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Dec 2012 22:59:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/Unable-to-customize-dashboard-with-CSS/m-p/37244#M1705</guid>
      <dc:creator>helge</dc:creator>
      <dc:date>2012-12-07T22:59:29Z</dc:date>
    </item>
  </channel>
</rss>

