Dashboards & Visualizations

app list dropdown

dipanjan80
Explorer

Hi,
I am trying to add the app list dropdown on my custom page.
Can you please suggest some ways.

0 Karma
1 Solution

somesoni2
Revered Legend

You can use following search with REST command to list all the apps present in the current splunk instance(where the dashboard is created).

| REST /services/apps/local splunk_server=local | table label

Include this search in your dashboard.

View solution in original post

somesoni2
Revered Legend

You can use following search with REST command to list all the apps present in the current splunk instance(where the dashboard is created).

| REST /services/apps/local splunk_server=local | table label

Include this search in your dashboard.

somesoni2
Revered Legend

For getting list of apps to which the current user has permission, you can use following:

| REST /services/apps/local splunk_server=local |search [ | rest /services/authentication/current-context | table username | rename username as eai:acl.perms.write] | table label

Any app where write permission is given to Everyone will not listed here. The reason for this is for Everyone, splunk uses "*" which can be escaped in a search string. To get list of apps to which the current user has explicit write permission, use above. For explicit read, changed eai:acl.perms.write to eai:acl.perms.read.

Get Updates on the Splunk Community!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

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

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...