How can I search for multiple log entries in one log file since the File Content Sensor can only search for one string?
Monitor Multiple Log Entries
Modified on 2025-06-10 20:26:41 +0200
Disclaimer:
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.
This can be done with a custom script and the EXE/Script Advanced sensor. Following script needs to be saved as .ps1 file and stored in \Custom Sensors\EXEXML
Afterwards you can add the sensor and add following in field Parameters:
Important: Please note that officially we do not support customization of any kind. If it's not working as expected, or if it stops working with newer PRTG versions, we won't be able to assist you further. Please also refer to the following article which explains why we can't officially offer any customization help for PRTG: https://helpdesk.paessler.com/en/support/solutions/articles/76000065319
Mar, 2022 - Permalink