Dashboards & Visualizations

Can the width of a navigation collection be modified

Communicator

In the navigation drop down menu I have several searches with long names. Is it possible to set the width of navigation collection so that the search name does not get truncated. I didn't see any parameters on the following navigation documentation page.

http://www.splunk.com/base/Documentation/4.1.1/Developer/Step6BuildNavigation

Tags (2)

Motivator

Yes, but there are caveats.

It's all driven by CSS -- it looks like the width is coming from AppBar.css (at least some of the time):

.AppBar .splMenu-primary ul div.innerMenuWrapper {
   width: 210px;
}

The simplest thing would be to put your own version of that stanza in appserver/static/application.css. Beware though, if you do that for Search or any of the other apps bundled with Splunk, it will get overwritten every time you upgrade.

You can do it at the view level, but you'd have to modify every view. I'm not aware of an officially sanctioned method for modifying the actual module CSS.

State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!