<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Where can I see logs from api.info() / api.warn() / api.error() in Synthetic JavaScript steps? in Synthetic Monitoring</title>
    <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Where-can-I-see-logs-from-api-info-api-warn-api-error-in/m-p/292320#M3303</link>
    <description>&lt;P&gt;Besides clickpath replay using the browser extension, I don't think I've seen those anywhere else. But definitely, this is a very good question. Maybe&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/1433"&gt;@HannahM&lt;/a&gt;&amp;nbsp;knows?&lt;/P&gt;</description>
    <pubDate>Tue, 30 Dec 2025 22:03:31 GMT</pubDate>
    <dc:creator>Julius_Loman</dc:creator>
    <dc:date>2025-12-30T22:03:31Z</dc:date>
    <item>
      <title>Where can I see logs from api.info() / api.warn() / api.error() in Synthetic JavaScript steps?</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Where-can-I-see-logs-from-api-info-api-warn-api-error-in/m-p/292307#M3302</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I’m working with &lt;STRONG&gt;Synthetic monitors (Browser / JavaScript steps)&lt;/STRONG&gt; and I’m trying to understand &lt;STRONG&gt;where logs generated via JavaScript APIs&lt;/STRONG&gt; are actually visible.&lt;/P&gt;&lt;P&gt;In my JavaScript step I’m using:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;api.info()&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;api.warn()&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;api.error()&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;What I tried so far&lt;/H3&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;DQL&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;fetch dt.synthetic.events&lt;BR /&gt;→ Events are returned, but there is &lt;STRONG&gt;no column with the log message&lt;/STRONG&gt; from api.info / warn / error.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;fetch dt.synthetic.detailed_events&lt;BR /&gt;→ This returns &lt;STRONG&gt;no data at all&lt;/STRONG&gt; for my monitor executions.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;STRONG&gt;UI&lt;/STRONG&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;According to the documentation:&lt;BR /&gt;&lt;A class="" href="https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/analysis-and-alerting/synthetic-details-for-http-monitors-classic#analyze-last-execution" target="_self"&gt;https://docs.dynatrace.com/docs/observe/digital-experience/synthetic-monitoring/analysis-and-alerting/synthetic-details-for-http-monitors-classic#analyze-last-execution&lt;/A&gt;&lt;BR /&gt;these messages should be visible under &lt;STRONG&gt;“Analyze execution details”&lt;/STRONG&gt;.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;However, when I navigate there, I’m redirected to the &lt;STRONG&gt;MDA-based execution details view&lt;/STRONG&gt;, and I don’t see any section that contains the messages written via api.info / warn / error.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;H3&gt;Questions&lt;/H3&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;Where are the messages from api.info(), api.warn(), and api.error() &lt;STRONG&gt;actually stored&lt;/STRONG&gt;?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Are they:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;available via &lt;STRONG&gt;DQL&lt;/STRONG&gt;, and if yes – which entity/table?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;visible only in a &lt;STRONG&gt;specific UI view&lt;/STRONG&gt;?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Is this behavior different for:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;Browser monitors vs HTTP monitors?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;Classic Synthetic vs MDA-based Synthetic?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;At the moment I can trigger failures and events successfully, but I can’t find the actual &lt;STRONG&gt;log-style messages&lt;/STRONG&gt; anywhere, neither in DQL nor in the UI.&lt;/P&gt;&lt;P&gt;Any clarification would be greatly appreciated &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;BR /&gt;Deni&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2025 17:33:04 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Where-can-I-see-logs-from-api-info-api-warn-api-error-in/m-p/292307#M3302</guid>
      <dc:creator>deni</dc:creator>
      <dc:date>2025-12-30T17:33:04Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I see logs from api.info() / api.warn() / api.error() in Synthetic JavaScript steps?</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Where-can-I-see-logs-from-api-info-api-warn-api-error-in/m-p/292320#M3303</link>
      <description>&lt;P&gt;Besides clickpath replay using the browser extension, I don't think I've seen those anywhere else. But definitely, this is a very good question. Maybe&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/1433"&gt;@HannahM&lt;/a&gt;&amp;nbsp;knows?&lt;/P&gt;</description>
      <pubDate>Tue, 30 Dec 2025 22:03:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Where-can-I-see-logs-from-api-info-api-warn-api-error-in/m-p/292320#M3303</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2025-12-30T22:03:31Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I see logs from api.info() / api.warn() / api.error() in Synthetic JavaScript steps?</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Where-can-I-see-logs-from-api-info-api-warn-api-error-in/m-p/292765#M3323</link>
      <description>&lt;P&gt;As&amp;nbsp;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/3364"&gt;@Julius_Loman&lt;/a&gt;&amp;nbsp;mentions, they can be seen during playback in the Classic Recorder.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;
&lt;P&gt;Where are the messages from api.info(), api.warn(), and api.error()&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;actually stored&lt;/STRONG&gt;?&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;For Browser Monitors, they're stored in the execution logs. Search for [CUSTOM].&amp;nbsp;&lt;BR /&gt;Recent logs, ~last hour&amp;nbsp;&lt;BR /&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Linux:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;/var/tmp/dynatrace/synthetic/logs&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Windows:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;C:\ProgramData\dynatrace\synthetic\temp\synthetic\logs&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Archived logs:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;STRONG&gt;Linux:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;/var/tmp/dynatrace/synthetic/archivedLogs&lt;/EM&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;STRONG&gt;Windows:&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;C:\ProgramData\dynatrace\synthetic\temp\synthetic\archivedLogs&lt;/EM&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Log File Format: &amp;lt;tenant_id&amp;gt;-&amp;lt;test_def_id&amp;gt;-&amp;lt;visit_id&amp;gt;-&amp;lt;timestamp&amp;gt;-ch.log&lt;/P&gt;
&lt;P&gt;Execution logs from the logs folder are archived hourly into 1-hour ZIP files in the archivedLogs folder.&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Are they:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;available via&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;DQL&lt;/STRONG&gt;, and if yes – which entity/table?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;it's not available in the next version, but I'm checking with the team if it's planned&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;visible only in a&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;specific UI view&lt;/STRONG&gt;?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;only available in logs currently&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Is this behavior different for:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;
&lt;P&gt;Browser monitors vs HTTP monitors?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Yes, for HTTP monitors, it's already available in &lt;A href="https://docs.dynatrace.com/docs/discover-dynatrace/references/semantic-dictionary/model/synthetic#synthetic-http-step-execution-details" target="_self"&gt;events,&lt;/A&gt;&amp;nbsp;custom_logs, and the &lt;A href="https://docs.dynatrace.com/docs/shortlink/synthetic-app-details-http#events" target="_self"&gt;UI&lt;/A&gt;.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;LI&gt;
&lt;P&gt;Classic Synthetic vs MDA-based Synthetic?&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;For HTTP Monitors, custom logs are available in both Classic Synthetic and the Synthetic App.&amp;nbsp;&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/UL&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Fri, 09 Jan 2026 14:02:34 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Where-can-I-see-logs-from-api-info-api-warn-api-error-in/m-p/292765#M3323</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2026-01-09T14:02:34Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I see logs from api.info() / api.warn() / api.error() in Synthetic JavaScript steps?</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Where-can-I-see-logs-from-api-info-api-warn-api-error-in/m-p/292767#M3324</link>
      <description>&lt;P&gt;Along these lines, I'd like to be able to ingest the execution logs from my public synthetics as well as private. My private synthetic ActiveGates have OneAgents installed on them so I can ingest any of the logs I wish. However the public synthetics (which is the bulk of what we use) I don't have access to the logs.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jan 2026 14:45:19 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Where-can-I-see-logs-from-api-info-api-warn-api-error-in/m-p/292767#M3324</guid>
      <dc:creator>StrangerThing</dc:creator>
      <dc:date>2026-01-09T14:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I see logs from api.info() / api.warn() / api.error() in Synthetic JavaScript steps?</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Where-can-I-see-logs-from-api-info-api-warn-api-error-in/m-p/292816#M3325</link>
      <description>&lt;P&gt;I confirmed with the architect that surfacing custom log lines for Browser Monitors in DQL is something we would like to do, but it's not currently in the roadmap.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 10:18:07 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Where-can-I-see-logs-from-api-info-api-warn-api-error-in/m-p/292816#M3325</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2026-01-12T10:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Where can I see logs from api.info() / api.warn() / api.error() in Synthetic JavaScript steps?</title>
      <link>https://community.dynatrace.com/t5/Synthetic-Monitoring/Where-can-I-see-logs-from-api-info-api-warn-api-error-in/m-p/292817#M3326</link>
      <description>&lt;P&gt;Yeah, unfortunately, only Support has access to the public Browser monitor logs. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; I would expect the solution to provide information for private locations, as well as offer it for public places. But no date yet.&amp;nbsp;&lt;BR /&gt;You can use JavaScript events to send a fetch request to an API to update something, like a metric, but I realise it's another place to check etc. There's an example of using a JavaScript event to send a fetch request&amp;nbsp;&lt;A href="https://community.dynatrace.com/t5/Troubleshooting/How-to-get-a-OTP-from-an-API-and-use-it-in-a-Browser-Monitor/ta-p/239746" target="_self"&gt;here&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 12 Jan 2026 10:23:57 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Synthetic-Monitoring/Where-can-I-see-logs-from-api-info-api-warn-api-error-in/m-p/292817#M3326</guid>
      <dc:creator>HannahM</dc:creator>
      <dc:date>2026-01-12T10:23:57Z</dc:date>
    </item>
  </channel>
</rss>

