Getting Data In

Can we filter warning/error messages by role in Splunk 6.2.2?

philip_wong
Communicator

I saw someone mentioned this is possible from 6.2.2. I want to verify if it's true and if there's any document mentioned this.
http://answers.splunk.com/answers/7960/red-error-warning-bar-in-splunk.html

Furthermore, I hope it can be done per role. For example, admin can see system messages, but general users can only see their own errors.

Is it possible?

0 Karma

jeffland
SplunkTrust
SplunkTrust

I suppose you could get the current user in js with service.currentUser() and the role with properties().roles (see http://dev.splunk.com/view/javascript-sdk/SP-CAAAEJ8#currentuser for more information and example), and based on their role appy

div.Message {
    display:none;
}
0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...