Splunk Search

Can we check App permission via Splunk logs

Naga
Engager

Here is the requirement:

I wanted to create a form with list of Apps in my Search head Dropdown. If the Developer choose any App from the list then it should show what level of permission (Read / Write) to whom in the dashboard. Is the App metadata writing this information anywhere in the logs. Or can we get this via REST API Search?

 

Sample Output

AppPermission
Dashboard ExamplesREAD - * ; WRITE - POWER
  

 

 

Labels (1)
Tags (1)
0 Karma
1 Solution

manjunathmeti
Champion

hi @Naga ,

Check this:

| rest /services/apps/local 
| rename "eai:acl.perms.read" AS read, "eai:acl.perms.write" AS write 
| fields title label version read write
| strcat "READ - " read "; WRITE - " write permissions

 

If this reply helps you, an upvote/like would be appreciated.

View solution in original post

manjunathmeti
Champion

hi @Naga ,

Check this:

| rest /services/apps/local 
| rename "eai:acl.perms.read" AS read, "eai:acl.perms.write" AS write 
| fields title label version read write
| strcat "READ - " read "; WRITE - " write permissions

 

If this reply helps you, an upvote/like would be appreciated.

Naga
Engager

Thank you manjunath. It helped a lot. Can we get the same in internal logs? We have different search head and each set is owned by different teams like Team 1 Splunk Infra / Team 2 / Team 3. 

0 Karma
Get Updates on the Splunk Community!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...