Following PowerShell script monitors various log files and sends output to JSON file, due to large number of logs, although script executes for about 16 seconds, was getting “Timed out” errors in Zabbix, that’s why output is saved in file.Each line in log file starts with datetime stamp, for example:
Monitoring Log Files with PowerShell and…
Following PowerShell script monitors various log files and sends output to JSON file, due to large number of logs, although script executes for about 16 seconds, was getting “Timed out” errors in Zabbix, that’s why output is saved in file.Each line in log file starts with datetime stamp, for example: