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.

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!

New to the Community? Join Us for an Exclusive Post .conf26 Welcome Session (Plus a ...

Keep the .conf26 Energy Going: Welcome to the Splunk Community! Whether we scanned your badge at the Community ...

Accelerate Splunk App Development with AI

  Learn how to automate the repetitive parts of your build cycle.   Register to Attend   Join our Tech Talk ...

Meet the .conf26 AI Agent Buildathon Winners

At the .conf26 AI Agent Buildathon, Splunk users turned their operational expertise into working AI agents ...