Hi everyone,
I wanted to get a connection to Splunk service (basically an instance of splunkjs.Service) from a custom application I am deploying in Splunk. Since a user already has to log into Splunk to access the app, I was hoping to not have to use a username / password as described in the docs. Is there a way to access service object in a custom application without having to create it using a specific user as below?
var service = new splunkjs.Service({
username:"admin",
password:"changeme",
scheme:"https",
host:"localhost",
port:"8089",
version:"5.0"
});
Appreciate your input.
... View more