Splunk Dev

Why is "[SPLUNKD] Action Forbidden" on fetching Splunk app's configuration?

domaquino
Loves-to-Learn Lots

I'am trying to fetch the app's configuration using:

const appNamespace = { 

owner: "admin", 

app: appName, 

sharing: "app" 

};

const http = new splunkjs.SplunkWebHttp();
console.log(http);
const service = new splunkjs.Service(http, appNamespace,);
console.log(service);
stage = 'Retrieving configurations SDK collection';
const configCollection = service.configurations(appNamespace);
console.log(configCollection)
await configCollection.fetch()      // Adding this line is what's causing the error.

But I'm getting an error of "[SPLUNKD] Action Forbidden" when I look at the browser's console. The app's read permission is set to "Everyone".

Labels (2)
0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...