Greetings All.
I have a requirement to create a log monitor for an application (Tomcat - web service) on a Windows host.
The log lives on the host under C:\Program Files\Tomcat\logs...
Looking at the documentation for the Powershell Log Parser, it says...
LogFilePath,RegularExpression
, where LogFilePath
is the path of the target log file on the target server. The path cannot contain any spaces.
Ok, but the log file needed lives under C:\Program Files, which has a space in it. I'm trying various parsing options, so far without success.
I welcome any thoughts from the community on how to access a log file under C:\Program Files.
Thanks!