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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Rounding off the Splunk Dashboard Contest

What does a contest-winning Splunk dashboard look like? In this case, it isn't in a browser tab at all. It ...

A Four Part Event Series: AI + Observability: AI Agents, LLMs, Apps, & Infrastructure

AI + Observability: AI Agents, LLMs, Apps, & Infrastructure The rapid evolution of artificial intelligence ...