|
Hey, How can I remove/hide the red error bar which is displayed across the Splunk UI whenever an error occurs? Thanks in advance for your help |
|
If your view (page) is written using the Simplified XML then there are a couple tricks but they're complicated or hacky or both. However if you're already using the Advanced XML it's quite easy -- navigate to
you should see some module tags with class="Message".
The 2 at the top are generally the ones that are responsible for displaying errors. You can just carefully comment those out. I don't really recommend this because I find that when people do this, a week or two later they'll be tearing their hair out with something that's not working and it ends up being because they have no way of seeing the error message that would make them slap their forehead... So.... if you want to be more fine grained about it, (and sadly the Message module doesn't have very useful filtering), but you can follow the technique that the 'discover' app uses. Download that app from splunkbase, look in If you're stuck with the simplified XML and/or dont want to muck with application.js you can apply some CSS from
but for the same reason I mention above, I'd only do this if you really really need to. And you might need to put it back when you're debugging. Thanks Nick. I understand what you are saying. Maybe I will switch it off when I am doing demos of my Splunk instance and then turn it back on when I am doing testing/debugging
(19 Oct '10, 15:03)
Ant1D
The error message bar doesn't usually contain much helpful information
(19 Oct '10, 15:05)
Ant1D
It will display search language errors though, like if you're not using quite the right argument and the report isnt working - that's the only clue you'll get.
(21 Oct '10, 06:17)
nick ♦
|
|
You can edit the view and take out the Message module... ... While this will remove it, you'll also not receive the messages you might need. Thanks for the info brettgladys
(19 Oct '10, 15:09)
Ant1D
|
