Splunk Search

Edited default.css but no changes

andrewkenth
Communicator

I am attempting to change the default color scheme via $SPLUNK_HOME/share/splunk/search_mrsparkle/exposed/css/skins/default/default.css described here: http://docs.splunk.com/Documentation/Splunk/latest/AdvancedDev/UseCSS

I edit the file, bounce the css and also restart splunk but non seem to have changed the way my pages appear in the browser.

Am I missing something?

Tags (1)

aelliott
Motivator

Did you clear your cache and then reload your page? Or do a hard refresh by holding down shift or ctrl while refreshing?

Apparently you cannot customize as much as you used to in splunk 6:
http://answers.splunk.com/answers/104685/applicationcss-gets-ignored-in-60

aelliott
Motivator

This infomration you may want to keep in mind as well

AppBar styling is more restrictive
For consistency between apps, Splunk 6.0 now constrains AppBar customization to color and logo.

To set color, use the color option to the nav element in default.xml. For example:

Search page restyling no longer supported
Splunk 6.0 new search page cannot be customized as it does not load any custom javaScript or CSS.

0 Karma

aelliott
Motivator

That appears to be the right folder, however it seems that changing the css within here is working for me:
$SPLUNK_HOME\share\splunk\search_mrsparkle\exposed\css

bootstrap.min.css seems to be the one that affects it.

0 Karma

andrewkenth
Communicator

I changed the link to some of the images, hard refresh, serer restart, _bump and cleaned internet files/history. That is the correct file to edit for site wide changes, correct?

0 Karma
Get Updates on the Splunk Community!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...