Dashboards & Visualizations

Can the width of a navigation collection be modified

kbecker
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)

southeringtonp
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.

Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...