12-30-2013 03:38 AM
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 ?
12-31-2013 06:58 AM
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/rege
can we do the same with PID ?
Thanks in advance.
12-31-2013 10:35 AM
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.
2 weeks ago
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 ?
2 weeks ago
No, only month,day,year system variables are supported. As workaround you may try the multilog monitor which does support regex for filename.
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
If you haven’t tried it yet, come and join us in our entitled forums at Support Customer Forums