Alerting
Questions about alerting and problem detection in Dynatrace.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Anomaly Detection App

Hello,

I need to extract all the configuration created in last month in anomaly detection app.

Can you please advice?

Thanks

Munawar

3 REPLIES 3

sujit_k_singh
Leader

Hi @munawarhossain3 

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

Dynatrace Professional Certified

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

Dynatrace Professional Certified

Featured Posts