Not a customer? Click the 'Start a free trial' link to begin a 30-day SaaS trial of our product and to join our community.
Existing Cisco AppDynamics customers should click the 'Sign In' button to authenticate to access the community
03-22-2021 01:15 AM - last edited on 04-02-2024 05:43 PM by Ryan.Paredez
Creating large amounts of Analytics Metrics takes some time, and there is no official API to support this function currently.
If you wish to automate this in the interim , to reduce the time taken to create them you can do the following.
You would run the Authentication URL to get the JSESSIONID & X-CSRF-TOKEN values by running the following command
curl -i --user @sername@account:password https://<controller url>/controller/auth?action=login
Then using the following URL, you can create the Metric
https://<controller url>/controller/restui/analyticsMetric/create
Set the Header values with the responses from the Auth Query(I used Postman for this example)
Provide the Metric query you wish to create, example below
Thank you! Your submission has been received!
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form