Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Apache log analysis

From: jason::cunliffe::verizon::net at: 18-Jun-2002 12:10

We need to analyze Apache logs by subdirectory. Preferably using REBOL. Our server has lots of sub-directories named by artists work: Works/groundzero/ Works/mythichybrid/ Works/trees/ etc.. Q1: Does anyone know how to configure Apache to generate log files per directory? I googled around a bit and found only examples for Virtual Hosts, which we've already done. I am using Webalizer for our main HTML presentation. [Linux RedHat 7.2] Q2: Examples of Apache log file analysis using REBOL? Our main access_log file typically reaches 10Mb before logrotate rolls it over and starts a fresh one. There are currently about 50 subfolders I need to generate individual stats for. If REBOL is fast enough, I don't mind just using it to crank out 50+ stat files with any lines including the named subdirectory. Ideally this would be run daily but can also be called on the fly on a parameterized basis. Webalizer is good for big domain level analysis, but I'd love to have configurable REBOL script I could pipe to each artists index page, creative visualization using Oldes' %make-swf.r ... you get the idea. thanks ./Jason