Ralph Brown wrote:
> Yes sir....i have re-read the cache.html doc..which seems to be confusing me
> even more (i must be getting old).
>
> I interperet that in order for me to have a continuous report, i will need
> to have a CACHEOUTFILE. I have named mine cache%D%m.file so it won't be
> overwritten.
> Also, the doc mentions that i don't need the CACHEFILE, but earlier you say
> that i do need to use the CACHEFILE command (this is where i get confused).
> I am rotating my logs each week, so i have no intention of loosing them.
> So, do i still need the CACHEFILE?
> My intent is to run Analog one time with all of the logs, and create a cache
> file to be read by subsequent reports (this has jsut finished).
>
> Also, the doc states that i can have the cache file read by using the
> CACHEFILE command...but i have not been able to locate these commands. I
> tried the READ command, thinking that the READ command was like those
> commands used in processing dns.
>
> Currently my cache commands look like this:
>
> # Cache files: see docs/cache.html
> CACHEFILE cachefile
> CACHEOUTFILE cache%D%m.file
CACHEFILE works just like LOGFILE. It specifies which Cache files Analog
should read.
CACHEOUTFILE tells Analog to write the current report to a Cache file.
You can use the command
CACHEFILE cache*.file
to tell Analog to build a report with all the files that match that spec.
However, if you put both CACHEFILE and CACHEOUTFILE in one configuration
(on run) then the output file will contain all the data from the rest of
the cache files. The only way to do this is to replace the cache file
you read with the one you are writing. Analog won't overwrite existing
cachefiles, so you'd need to do this after the run with a script or
something.
But better is to run Analog twice: Once to read in the current log file
and create a cache file for it (and no report). Another time to read all
your cachefiles (and no logfiles) and produce a report of it.
--
Jeremy Wadsack
Wadsack-Allen Digital Group
------------------------------------------------------------------------
This is the analog-help mailing list. To unsubscribe from this
mailing list, send mail to [EMAIL PROTECTED]
with "unsubscribe" in the main BODY OF THE MESSAGE.
List archived at http://www.mail-archive.com/[email protected]/
------------------------------------------------------------------------