Re: Need help excluding certain file type from reports

John Brannen <[email protected]> Tue, 09 Dec 2008 09:48:30 +0000
Newsgroups gmane.comp.web.analog.general
Message-ID <[email protected]>
Thanks for your help and quick reply. I am using the HOSTNAME and 
HOSTURL commands in my script. I have created the separate config file 
as you have suggested and looks like that is the way forward. I did 
receive a couple of errors but looks like the problem now is within my 
script.

Thanks again.

-- 

JOHN BRANNEN
IP Engineer
Tibus [ ebusiness | interactive | networks ]

T: +44 (0)28 9042 4190
F: +44 (0)28 9042 4709
E: [email protected]
W: www.tibus.com

Please consider the environment before printing this email.

Tibus is a trading name of The Internet Business Ltd, a company limited 
by share capital and registered in Northern Ireland, NI31235. Registered 
Office at Holywood House, 1 Innis Court, Holywood, County Down,BT18 9HF.

Aengus wrote:
> John Brannen <[email protected]> wrote:
>> Hi,
>>
>> This is my first post. I have been using Analog for reports for a year
>> and everything has been working great. I run analog 6.0 for close to
>> 300 domains using rsync to retreive logs from multiple servers. I
>> have had 1 client request that we exclude all .swf files on their
>> reports. I only want to do this for this one site but do not want to
>> use multiple configs. I know that I would have to use the fileexclude
>> argument, but do not want to exclude this from all the other sites.
>> What would be the easiest way to go about doing this? 
> 
> How do you customize the reports that you're generating now? Are you using the HOSTNAME and HOSTurl commands, for example, to change the "Web Server Statistics for ..." message at the top of each report, and the BASEURL command to make the links in the Request Report clickable?
> 
> You can add a fileexclude command to the Command line by adding
> 
> +C"FILEEXCLUDE *.swf"
> 
> to the Analog command line (arguments are case sensitive - the +C needs to be uppercase). But how you get that argument to only be used for that client, and not for everyone else, depends on how your script is currently configured. If you are just looping through a list of directories, then then the simplest solution might be to include an addition config file on the command line (+g/%dir/custom.cfg) and only create the custom.cfg file in the subdirectory of the customer that needs it. You'll get a warning that Ananlog couldn't find the custom.cfg file for the other customers, but Analog will still create the reports.
> 
> Aengus
> 
> +------------------------------------------------------------------------
> |  TO UNSUBSCRIBE from this list:
> |    http://lists.meer.net/mailman/listinfo/analog-help
> |
> |  Analog Documentation: http://analog.cx/docs/Readme.html
> |  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
> |  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
> +------------------------------------------------------------------------
+------------------------------------------------------------------------
|  TO UNSUBSCRIBE from this list:
|    http://lists.meer.net/mailman/listinfo/analog-help
|
|  Analog Documentation: http://analog.cx/docs/Readme.html
|  List archives:  http://www.analog.cx/docs/mailing.html#listarchives
|  Usenet version: news://news.gmane.org/gmane.comp.web.analog.general
+------------------------------------------------------------------------