Application Perf Mgmt (BAC / BSM) Practitioners Forum
cancel

Sitescope file monitor syntax for present date

SOLVED
Go to solution
ERIKPGP
Regular Contributor.

Sitescope file monitor syntax for present date

Hi Experts,

 

I'm trying to create a type of monitor log file, but the log file is displayed only when an error occurs.
Right now my monitor has these settings to the past date s / \ \ hostname \ / D $ \ / path \ / Logs / offsetMinutes = $ 1440 $ $ $ $ application years 0 months 0 days $ $ $. log /
but I hope to set the monitor to actual date, any ideas?

 

Tanks in advance.

2 REPLIES
Highlighted
Gunnar_L
Outstanding Contributor.
Solution

Re: Sitescope file monitor syntax for present date

Hi,

 

For example to monitor a daily log from SiteScope you can use this ReGex:

 

s/C:\SiteScope\logs\SiteScope$year$_$0month$_$0day$.log/

 

That read the current date, daily log format: SiteScope2014_01_09.log

 

Best Regards,

 

Gunnar López
HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
ERIKPGP
Regular Contributor.

Re: Sitescope file monitor syntax for present date

Gunnar_L. Thanks, your suggestion worked me.