There's probably an easy answer but I haven't been able to find it.

I have a virtual domain (with one log file) that has 30+ subdirectories each
containing a website.  I want to analyze each subdirectory on its own.
Since I have to run once for each subdirectory I'm trying to setup a simple
shell script to call a generic config file and inject only the subdirectory,
outfile, and chart dir information through the command line.  I cannot get
the FILEINCLUDE command to inject the subdirectory name, I keep getting
results for the whole virtual domain.  The LOCALCHARTDIR command works using
the +C switch.

What am I missing or screwing up?    Shell script below.

Thanks

#!/bin/bash
/home/stuartl/analog/dnstran /home/stuartl/logs/www2/W3SVC2/*.log
analog -G +g/home/stuartl/analog/depts/depts_dir.cfg +C"LOCALCHARTDIR
/home/stuartl/depts/hr/charts/%Y%M" +C"FILEINCLUDE /hr/*"
+O/home/stuartl/depts/hr/report.html
analog -G +g/home/stuartl/analog/depts/depts_dir.cfg +C"LOCALCHARTDIR
/home/stuartl/depts/finehost/charts/%Y%M" +C"FILEINCLUDE /finehost/*"
+O/home/stuartl/depts/finehost/report.html


Stuart Long
-=-=-=-=-=-
Web Systems Engineer
Clackamas Community College

503.657.6958 x2562
[EMAIL PROTECTED]
  
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.isite.net/listgate/analog-help/unsubscribe.html
|
|  Digest version: http://lists.isite.net/listgate/analog-help-digest/
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
+------------------------------------------------------------------------

Reply via email to