Splunk AppDynamics

Curl command to use API for pushing/importing dashboard by using client secret and temporary access token

mshaik39
Explorer

Hi team,

Could you please guide me on how to push/import the dashboard using the client's secret and temporary access token? 

Thankyou

Labels (1)
Tags (2)
0 Karma
1 Solution

iamryan
Community Manager
Community Manager

Hi @Mohammed Saad.Shaikh,

I did some searching in our AppD Documentation area and found this: https://docs.appdynamics.com/appd/23.x/latest/en/extend-appdynamics/appdynamics-apis/configuration-i...

Let me know if this helps.

View solution in original post

Sunil_Agarwal
Communicator

Here is the API formate using Access Token:

Export Custom Dashboards and TemplatesLink to Export Custom Dashboards and Templates

curl -s -X POST -H 'Authorization: Bearer <Access_Token>'  http://demo.appdynamics.com/controller/CustomDashboardImportExportServlet?dashboardId=8


Import Custom Dashboards and TemplatesLink to Import Custom Dashboards and Templates

curl -s -X POST -H 'Authorization: Bearer <Access_Token>' http://demo.appdynamics.com/controller/CustomDashboardImportExportServlet -F file=@customdashboards.json

iamryan
Community Manager
Community Manager

Hi @Mohammed Saad.Shaikh,

I did some searching in our AppD Documentation area and found this: https://docs.appdynamics.com/appd/23.x/latest/en/extend-appdynamics/appdynamics-apis/configuration-i...

Let me know if this helps.

Get Updates on the Splunk Community!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...