Setting up a Monitor Using a PowerShell Command.
We support monitoring using PowerShell commands. To do this simply click “Add Monitor” then “Windows”, then select Metric “PowerShell Command”.
Then fill in the Command field. In the above example we monitor for a “specific string” in the Event Logs.
Here is the example PowerShell command you would enter:
Get-EventLog Application -After (Get-Date).addMinutes(-2) -Message “*textstring*”
You would replace textstring with whatever you want to search in the log files.
Still have questions?