11-14-2008 07:11 AM
The file names are like this:
with the DD always being one day less than the current day (DD-1). How can I put this into an expression for sitescope? I have tried different syntax for [$day$-1] but nothing is working.
Solved! Go to Solution.
11-14-2008 07:59 AM
They mention minutes offset in one of the examples. There may be a $offsetDays as well (not sure). If not, you can just use the offsetMinutes by adding a negative value with the number of minutes in a day.
11-14-2008 09:03 AM
The file exists in the directory as this:
Does anyone see an obvious error in the syntax?
11-14-2008 11:29 AM
I am wondering if the $offsetMinutes$ variable is supported for this type of monitor? In the documentation it states that these variables can be used in content match fields. It doesnt say they can be used for file names. I know they work as-is for file names because we have several log file monitors set up that use them. All of the log files that we monitor are current date and time though.
This is a first for us to look for a file with a past date in the name.
11-14-2008 12:02 PM
11-14-2008 12:12 PM
The path is \\10.10.9.64\f$\home\ABC\PIP_IMPORT_4005_MM-DD-YY.
Here is what I have in the monitor:
I REALLY appreciate your help!
11-14-2008 12:18 PM
It should be this:
11-14-2008 12:45 PM
01-09-2014 07:59 AM
This format s/\\10.10.9.64\/f$\/home\/ABC/$offsetMinutes=-1440$PIP_IMPORT_4005_$0month$-$0day$-$shortYear$.txt/ woks for me!
But how can i do to adjust for an actual date?... Thanks in advance.