# Synthetic monitoring execution logs

**URL:** <https://community.dynatrace.com/t/synthetic-monitoring-execution-logs/37369>\
**Category:** Synthetic Monitoring\
**Tags:** synthetic-monitoring\
**Created:** [November 20, 2022, 7:46am UTC](https://community.dynatrace.com/t/synthetic-monitoring-execution-logs/37369 "2022-11-20T07:46:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dorm](https://avatars.discourse-cdn.com/v4/letter/d/d2c977/32.png) [@dorm](https://community.dynatrace.com/u/dorm)\
**Post date:** [November 20, 2022, 7:46am UTC](https://community.dynatrace.com/t/synthetic-monitoring-execution-logs/37369/1 "2022-11-20T07:46:29Z")

</div>

hey,

1. how can i save / log more failed synthetic failures ? on the portal i get only the last failure results.
2. where can i find what placeholder are available for me on the tests? currenlty i created a pre-script to get a timestamp and add it to the query string so i can filter the requestes on upstream WAF that doesn’t log the header with the “visit id” paramter. how can i put this visit id parameter also in the URL ?

thanks

dor

---

<div class="post-metadata">

**Author:** ![hannahmac](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/hannahmac/32/41823_2.png) [@hannahmac](https://community.dynatrace.com/u/hannahmac)\
**Post date:** [November 21, 2022, 12:01pm UTC](https://community.dynatrace.com/t/synthetic-monitoring-execution-logs/37369/2 "2022-11-21T12:01:20Z")

</div>

1) You can use the API to get the most recent result and store them locally to review over time.

> **[Synthetic monitor executions API v2 - GET HTTP monitor](https://docs.dynatrace.com/docs/dynatrace-api/environment-api/synthetic-v2/synthetic-monitor-execution/get-http-monitor)**
>
> View the results of an HTTP Synthetic monitor execution via the Dynatrace API.

2) I don’t believe it is possible to get the visitId as this is information from outside the script. Can you just use the time and request endpoint to filter on the WAF instead
