Splunk AppDynamics

API Request

Juraj_Papic
Explorer

Hi all,

Im trying to access the API from PostMan, but  getting the error 401. My question is the user / pass this should be the user I use to connect to the URL or I have to user the API cliente?

thanks. 

Labels (3)
Tags (3)
0 Karma

Vaibhav_Vir_Sin
Communicator

Hi @Juraj.Papic ,

There are several ways you can connect but i believe you are connecting using your local userID and pwd.

In that case, please make sure you use userID as "user@customer1" instead of just user.

Here customer1 is default tenant that gets created while cluster setup but if this doesn't work then check with your administrator the account name (tenant) if they changed from customer1 to something else.

Hope this helps.

Regards,
VVS

Morelz
Motivator

Hi Juraj

Preferably you should be using the API client with Oauth2, however some of the API's also allow basic auth with username password.

You did not provide the API you are trying to connect to as well as your authentication method., so unsure of what the problem might be.

Ciao

Get Updates on the Splunk Community!

Leveraging Detections from the Splunk Threat Research Team & Cisco Talos

  Now On Demand  Stay ahead of today’s evolving threats with the combined power of the Splunk Threat Research ...

New in Splunk Observability Cloud: Automated Archiving for Unused Metrics

Automated Archival is a new capability within Metrics Management; which is a robust usage & cost optimization ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...