cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Create an Alert using Audit Logs for new Synthetic monitor.

ManoharSomineni
Visitor

How to create an Alert using Audit Logs data. whenever the new Synthetic monitor created, that time alert should be triggered with created person User ID. already enabled the Audit Logs.

1 REPLY 1

HannahM
Dynatrace Leader
Dynatrace Leader

With the Audit Log enabled, you can query the Audit logs using the Audit Logs API. If you filter by 

 

eventType("CREATE"),entityId("ME_SYNTHETIC_TEST","ME_HTTP_CHECK","MULTIPROTOCOL_MONITOR")

 

that will give you only newly created Synthetic monitors (Browser Monitors, HTTP Monitors, Network Availability Monitors). 

If you have a managed installation, you can ingest the audit.0.*.logs and then alert on the log events. 
This optin is not available for SaaS. As a workaround, you can get the logs/entries from API and ingest them as logs for your own tenant afterward, but this would cost DDUs.

Synthetic SME and community advocate.

Featured Posts