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!

Exciting News: The AppDynamics Community Joins Splunk!

Hello Splunkers,   I’d like to introduce myself—I’m Ryan, the former AppDynamics Community Manager, and I’m ...

The All New Performance Insights for Splunk

Splunk gives you amazing tools to analyze system data and make business-critical decisions, react to issues, ...

Good Sourcetype Naming

When it comes to getting data in, one of the earliest decisions made is what to use as a sourcetype. Often, ...