Splunk Search

application.css is getting ignored by splunk

vikas_gopal
Builder

Hi Experts,

I want to add my custom style to my app. I have done some modifications in application.css in ($SPLUNK_HOME/etc/apps//appserver/static/) folder and I restart the web service then refresh browser but it did not reflect the changes to the app.
here is my nav code

Application.css code

/*
 * Top app banner section
 */
.AccountBar {
    background-image: url(/static/app/samples/samples_header.png);
    background-repeat: no-repeat;
    background-color: #79a60b;
    height: 140px;
}

.AccountBar .appLogo,
.AccountBar p.appName {
    display: none;
}

.AccountBar .accountBarItems {
    background-color: #000;
    opacity: .5;
    filter: alpha(opacity=50);
}

/*
 * view menu system
 */
.AppBar {
    font-family: Arial Black, Arial, sans-serif;
    font-size: 18px;
    font-variant: small-caps;
}

.AppBar a {
    color: #f3df00 !important;
}

.AppBar a:hover {
    color: #6ad7ff !important;
}

/*
 * Body content
 */
body {
    background-image: url(/static/app/samples/body_bg.png);
    background-repeat: repeat-x repeat-y;
}

Please suggest what else do I need to consider

Tags (1)
0 Karma

stephanefotso
Motivator

Clear Splunk Web related cache after customization
If you've made changes to an app's static content while customizing Splunk Web, you can reload that content for all the users of your app using this URI: http://localhost:8000/_bump
The _bump endpoint clears out the Splunk Web related cached items in client browsers, allowing new static content to load.

SGF
0 Karma

vikas_gopal
Builder

I missed my nav code

<nav search_view="search" color="#65A637" stylesheet="application.css">
  <view name="dashboards" default='true' />
</nav>

I actually want to hide account bar

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...