splunk/splunk-sdk-javascript

Connect with API KEY?

GeoffreyPlitt opened this issue · 1 comments

Hi,

I don't want to put my SplunkStorm admin password in my code repo, so I assumed I could connect with my SplunkStorm API key. Any examples with connecting with API key instead of password?

-Geoff

At the moment there's no Splunk Storm support in any of our SDKs. As far as I know (though I haven't checked in a little while---running hard on my hamster wheel without looking up) Storm's only REST API so far is a data input. The JavaScript SDK intentionally doesn't support inputs in any form, but it should be pretty straightforward to make the raw HTTP calls yourself.