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.

Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...