Re: Need help excluding certain file type from reports
"Aengus" <[email protected]> Mon, 8 Dec 2008 15:27:32 -0500
| Newsgroups | gmane.comp.web.analog.general |
|---|---|
| Message-ID | <FD2D6ED4C0A74778996E5620A56EA900@WC515ALawlo> |
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 +------------------------------------------------------------------------