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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Network to App: Observability Unlocked [May & June Series]

In today’s digital landscape, your environment is no longer confined to the data center. It spans complex ...

SPL2 Deep Dives, AppDynamics Integrations, SAML Made Simple and Much More on Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...