# Create an Alert using Audit Logs for new Synthetic monitor.

**URL:** <https://community.dynatrace.com/t/create-an-alert-using-audit-logs-for-new-synthetic-monitor/46409>\
**Category:** Alerting\
**Tags:** problem-notification, anomaly-detection, problems-classic, synthetic-monitoring\
**Created:** [July 2, 2024, 10:08am UTC](https://community.dynatrace.com/t/create-an-alert-using-audit-logs-for-new-synthetic-monitor/46409 "2024-07-02T10:08:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ManoharSomineni](https://avatars.discourse-cdn.com/v4/letter/m/41988e/32.png) [@ManoharSomineni](https://community.dynatrace.com/u/ManoharSomineni)\
**Post date:** [July 2, 2024, 10:08am UTC](https://community.dynatrace.com/t/create-an-alert-using-audit-logs-for-new-synthetic-monitor/46409/1 "2024-07-02T10:08:34Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![hannahmac](https://avatars.discourse-cdn.com/v4/letter/h/dec6dc/32.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [August 13, 2024, 11:00am UTC](https://community.dynatrace.com/t/create-an-alert-using-audit-logs-for-new-synthetic-monitor/46409/2 "2024-08-13T11:00:26Z")

</div>

With the [Audit Log enabled](https://docs.dynatrace.com/docs/manage/data-privacy-and-security/configuration/audit-logs), you can query the Audit logs using [the Audit Logs API](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/audit-logs/get-log). If you filter by

```markup
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&nbsp;audit.0.\*.logs and then [alert on the log events.](https://docs.dynatrace.com/docs/shortlink/lma-log-events)&nbsp;  
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.
