Hope to find your help on the below,
We need to implement log file monitor,
the log file is in folder,
and this file is generated periodically started with same name & numbers ...
Example: deepo_0101_987654.log , deepo_0108_87653.log And so on
these numbers are random.
how to implement regex for this file to monitor every new file ?
SiteScope doesn't provide capabilities to build a regex for file names containing arbitrary numbers.
Thanks alot for your help,
I understood this,
One more question, what if I tried to monitor [ fileName_$PID.log ] ?
as per this link [ http://sitescope.tellurian.net/SiteScope/docs/regexp.htm ] we can monitor date variable names.
can we do the same with PID ?
Thanks in advance.
Yes, you can use special date and time variables as part of regex for file names. However, PID is nothing but a set of arbitrary figures, so the answer would be the same - SiteScope doesn't allow you to build a regex for such file names.
ok, for dates,
if the file name contains variable date, sitescope support regex for [ year, month, day, hour, minute, milleseconds ].
Aren't there regex for seconds ?