We are in the middle of a tool migration and will be looking for lots of help as our company has shunted training for the time being.
That being said, here is one of our top dilemmas. We are trying to create log watcher to pick out errors. The logfile that we are looking at gets archived everyday and each new file has the date specified in it.
sample filename(taken from a real one):
d:\sitescope\logs\Sitescope2003_04_01.log
We need to be able to set the date "YYYY_MM_DD" as a variable otherwise this will not work for us.
I know that there is a parameter in TNG that will pick out a date in the YYYYMMDD format, but one is not able to break that format apart with "_". Does anyone have any insight on how we can get around this? or if there is another way to pick out the logfile?
Thanks,
Marty
That being said, here is one of our top dilemmas. We are trying to create log watcher to pick out errors. The logfile that we are looking at gets archived everyday and each new file has the date specified in it.
sample filename(taken from a real one):
d:\sitescope\logs\Sitescope2003_04_01.log
We need to be able to set the date "YYYY_MM_DD" as a variable otherwise this will not work for us.
I know that there is a parameter in TNG that will pick out a date in the YYYYMMDD format, but one is not able to break that format apart with "_". Does anyone have any insight on how we can get around this? or if there is another way to pick out the logfile?
Thanks,
Marty