<?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 Need a way to use DQL for searching extension logs in DQL</title>
    <link>https://community.dynatrace.com/t5/DQL/Need-a-way-to-use-DQL-for-searching-extension-logs/m-p/276888#M2046</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;Hello, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;I need help with searching logs from the SSL Certificate Monitor extension. I noticed that if the monitored site is down or if there is an error reading the certificate, the certificate just disappears from the discovered certificates. I found some logs in:&lt;BR /&gt;./remotepluginmodule/log/extensions/datasources/com.dynatrace.custom.python-certificate-monitor/python3.log&lt;BR /&gt;Is there a way to read these logs through DQL and set up an alert if such issues occur?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Regards, Deni&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 12 May 2025 06:46:27 GMT</pubDate>
    <dc:creator>deni</dc:creator>
    <dc:date>2025-05-12T06:46:27Z</dc:date>
    <item>
      <title>Need a way to use DQL for searching extension logs</title>
      <link>https://community.dynatrace.com/t5/DQL/Need-a-way-to-use-DQL-for-searching-extension-logs/m-p/276888#M2046</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Hello, &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;I need help with searching logs from the SSL Certificate Monitor extension. I noticed that if the monitored site is down or if there is an error reading the certificate, the certificate just disappears from the discovered certificates. I found some logs in:&lt;BR /&gt;./remotepluginmodule/log/extensions/datasources/com.dynatrace.custom.python-certificate-monitor/python3.log&lt;BR /&gt;Is there a way to read these logs through DQL and set up an alert if such issues occur?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class=""&gt;Regards, Deni&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 06:46:27 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Need-a-way-to-use-DQL-for-searching-extension-logs/m-p/276888#M2046</guid>
      <dc:creator>deni</dc:creator>
      <dc:date>2025-05-12T06:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Need a way to use DQL for searching extension logs</title>
      <link>https://community.dynatrace.com/t5/DQL/Need-a-way-to-use-DQL-for-searching-extension-logs/m-p/276896#M2047</link>
      <description>&lt;P&gt;You can install OneAgent on the activegate host and then enable log monitoring for the file.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 00:51:45 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Need-a-way-to-use-DQL-for-searching-extension-logs/m-p/276896#M2047</guid>
      <dc:creator>RohitBisht</dc:creator>
      <dc:date>2025-05-12T00:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: Need a way to use DQL for searching extension logs</title>
      <link>https://community.dynatrace.com/t5/DQL/Need-a-way-to-use-DQL-for-searching-extension-logs/m-p/276935#M2053</link>
      <description>&lt;P&gt;How can I enable this log monitoring?&lt;/P&gt;&lt;P&gt;I tried to add a custom log configuration in settings: Linux path: /var/lib/dynatrace/remotepluginmodule/log/extensions/datasources/com.dynatrace.custom.python-certificate-monitor/python3.log&lt;/P&gt;&lt;P&gt;but&lt;BR /&gt;fetch logs&lt;BR /&gt;| filter matchesValue(content, "8443")&lt;BR /&gt;| sort timestamp desc&lt;/P&gt;&lt;P&gt;still don't return anything. The digit is a port number which exists in the file:&lt;BR /&gt;sudo grep 8443 . -R | grep 2025-05-12&lt;/P&gt;&lt;P&gt;./remotepluginmodule/log/extensions/datasources/com.dynatrace.custom.python-certificate-monitor/python3.log:[3dacb2c3-3e7b-3354-91b4-6cf6d488d5d6][-4727436546405702787][37757][out]2025-05-12 13:21:40,036 [DEBUG] (ThreadPoolExecutor-0_0): Check bindings: [ProcessPortBinding(address='78.83.113.249', port=8443, pid=None)]&lt;/P&gt;&lt;P&gt;..... and a lot more&lt;/P&gt;&lt;P&gt;/var/lib/dynatrace$ pwd&lt;BR /&gt;/var/lib/dynatrace&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2025 11:05:31 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Need-a-way-to-use-DQL-for-searching-extension-logs/m-p/276935#M2053</guid>
      <dc:creator>deni</dc:creator>
      <dc:date>2025-05-12T11:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Need a way to use DQL for searching extension logs</title>
      <link>https://community.dynatrace.com/t5/DQL/Need-a-way-to-use-DQL-for-searching-extension-logs/m-p/276983#M2058</link>
      <description>&lt;P&gt;Its a 2 step process as stated here: &lt;A href="https://docs.dynatrace.com/docs/shortlink/log-monitoring-custom-source" target="_blank" rel="noopener"&gt;https://docs.dynatrace.com/docs/shortlink/log-monitoring-custom-source&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P class=""&gt;The entire process consists of two parts:&lt;/P&gt;&lt;DIV class=""&gt;&lt;OL class=""&gt;&lt;LI&gt;&lt;SPAN class=""&gt;Source definition (custom log source configuration), which is described on this page.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Log acquisition (adding logs to storage), which is described on&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A class="" title="Configure storage of log files that are already known to OneAgent." href="https://docs.dynatrace.com/docs/analyze-explore-automate/log-monitoring/acquire-log-data/log-storage" target="_blank" rel="noopener"&gt;Log ingest rules&lt;/A&gt;.&lt;BR /&gt;&lt;BR /&gt;I believe step 2 is missing for you, once you do this content of log file should be there, try to search for check if the logs are flowing in first and then you can perform specific searches like port number. Hope this helps.&lt;/LI&gt;&lt;/OL&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 13 May 2025 01:06:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/DQL/Need-a-way-to-use-DQL-for-searching-extension-logs/m-p/276983#M2058</guid>
      <dc:creator>RohitBisht</dc:creator>
      <dc:date>2025-05-13T01:06:41Z</dc:date>
    </item>
  </channel>
</rss>

