Getting Data In

UID/PWD to use for Cloud API requests

tjago11
Communicator

I was able to get the API functionality to work from a local instance, but having trouble with the Cloud Instance.

curl -v -k -u username https://input-instance.cloud.splunk.com:8089/services/messages

I keep getting an "Unauthorized" response back, things I tried:
-UID from setting up the splunk account
-My first name
-admin

Also tried a couple different passwords but no joy. Any help is appreciated, thanks.

p.s.
Using the trial version.

0 Karma
1 Solution

tjago11
Communicator

Looks like this is dead in the water:
http://docs.splunk.com/Documentation/SplunkCloud/6.6.0/User/Admintasks

To use the REST API, you must have a paid subscription to Splunk Cloud.

Boooooo!!!!

View solution in original post

0 Karma

tjago11
Communicator

Looks like this is dead in the water:
http://docs.splunk.com/Documentation/SplunkCloud/6.6.0/User/Admintasks

To use the REST API, you must have a paid subscription to Splunk Cloud.

Boooooo!!!!

0 Karma

jkat54
SplunkTrust
SplunkTrust
0 Karma

tjago11
Communicator

Yep, read that document but it doesn't mention "what" account to use. My user account and the generic 'admin' account do not seem to work.

0 Karma

jkat54
SplunkTrust
SplunkTrust
Splunk users must have role and/or capability-based authorization to use REST endpoints. Users with an administrative role, such as admin, can access authorization information in Splunk Web. To view the roles assigned to a user, select Settings > Access controls and click Users. To determine the capabilities assigned to a role, select Settings > Access controls and click Roles.
0 Karma

jkat54
SplunkTrust
SplunkTrust

I think your admin should work but you might like to check to see if your admin is added to the admin role

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...