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!

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...