Archives
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Summary-Talk] Sub Report Config Question
On 3/20/04 12:45 PM John May (jmaymailing@pointinspace.com) wrote: >Sounds like I'm out of luck then. I'm trying to do something really >simple here - simply create a sub-report per folder of logs in the >Logs folder. > >I just want a sub report per each top-level directory that contains >ALL requests from the log files within said directory. This needs to >happen while still allowing the normal sub-reports we have that are >keyed off either specific file path requests (for our WebStar 4 logs) >or domain name(s) (for our Apache logs). > >Based on what you've said, it sounds like this is not possible? That depends on what you are really looking for, a few details of your configuration that you didn't describe, and how much work you are willing to go to. The WebSTAR 4 logs are easy. I take it that the Apache logs contain domain names in each log entry, that the preexisting Apache related sub-reports are running based on the domain names in the log entries, that the new sub-reports you want to create are supposed to report on these very same Apache logs, and that at least one of your domains is served by more then one server? If any of these are not true, then it is again easy, though the details then depend on things you haven't said. Assuming that my assumptions are correct, then it is no longer straightforward, but might well still be possible. At this point it becomes important to know what you want to see in these new sub-reports. I doubt that you really want the whole sub-report, you are presumably interested in one or two reports in particular. It may well be that Summary has an exiting feature to show you the information you are interested in, such as the Physical Servers report, and if it doesn't then I want to know what you are looking for so I can think about adding it in a future release. The only approach that would do exactly what you asked for is more complex. If you duplicate the Apache logs, so that each log file appears both directly in Summary's Logs folder and in a sub-folder, you get around the "can only treat a single log file in one way" limitation. Then turn on "Always use folder name as domain name". The copy of the logs directly in the Logs folder will still get their domain from the log entry, so the existing sub-reports can work the way they already do, and the other copy will get it's domain from the folder name, and the new sub-reports can work off of that. When trying this you need to be careful of duplicate log file names, which may require some external scripting to prevent. Jason ----------------- Jason@Summary.Net ----------------- Dr. Seuss books . . . can be read and enjoyed on several levels. For example, 'One Fish Two Fish, Red Fish Blue Fish' can be deconstructed as a searing indictment of the narrow-minded binary counting system. -- Peter van der Linden, Expert C Programming, Deep C Secrets ------------- Go to <http://summary.net/list.html> to update subscription info.
|