Hello,
I need to extract all the configuration created in last month in anomaly detection app.
Can you please advice?
Thanks
Munawar
Hello,
I need to extract all the configuration created in last month in anomaly detection app.
Can you please advice?
Thanks
Munawar
You can use the Settings API to retrieve anomaly detection configurations, including the modification metadata. For example:
curl -X GET “https://{environmentid}.live.dynatrace.com/api/v2/settings/objects?schemaIds=builtin:anomaly-detection.custom-alerting&fields=objectId,value,modificationInfo,scope” \
-H “Authorization: Api-Token {your-api-token}”
Replace the schemaIds value with the anomaly detection schema you want to query, such as:
builtin:anomaly-detection.custom-alerting
builtin:anomaly-detection.davis-anomaly-detectors
builtin:anomaly-detection.infrastructure-hosts
You can obtain the full list of anomaly detection related schemas using the Settings API schemas endpoint and filtering for “anomaly”.
Thanks,
Sujit
Thank you @Sujitfor the help.
Aside, I was able to download the configuration from the setting app instead.
Thanks
Munawar
Thats great, I mainly used api with monaco and terraform so i suggested this.
however, good to see you got option from UI iteself.
Thanks,
Sujit