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:
./remotepluginmodule/log/extensions/datasources/com.dynatrace.custom.python-certificate-monitor/python3.log
Is there a way to read these logs through DQL and set up an alert if such issues occur?
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
Source definition (custom log source configuration), which is described on this page.
Log acquisition (adding logs to storage), which is described on Log ingest rules.
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.