Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

Re: Scalable Perl Webalizer Alternative(s)

by moritz (Cardinal)
on Jul 02, 2008 at 09:15 UTC ( #695109=note: print w/replies, xml ) Need Help??

in reply to Scalable Perl Webalizer Alternative(s)

I don't want to take anything away from the Webalizer developers

webalizer is open source (GPL). You can either contribute to that cool project and send patches with your enhancements. (If they don't like the direction you take, you can still fork the project without taking anything away from them).

(Update: d'oh, just noticed that I confused webalizer with awstats. Both are open source, but webalizer is written in C, so perhaps not the answer you're looking for.)

BTW the other day I've seen a cool perl project that dumps Apache log files into a sqlite database. Depending on your goals that might help you, you could then do much of your analysis in SQL.

  • Comment on Re: Scalable Perl Webalizer Alternative(s)

Replies are listed 'Best First'.
Re^2: Scalable Perl Webalizer Alternative(s)
by skx (Parson) on Jul 02, 2008 at 10:02 UTC

    I'm going to assume that you're talking about my asql tool, which was previously mentioned here as Querying Apache logfiles via SQL, and can be very useful for ad-hoc queries.

    But being console based it does lack the prettyness of awstats, webalizer, etc.


      Hi, Steve:

      your tool is very cool! it can be even better if you can add a '-e' command-line switch like MySQL's, then we can easily automate sending the output data to generate graphs or tables without the need of 'expect' script to handle the interactive things. i.e.

      asql -e 'select source, sum(size) from logs group by source' > ip_tr +affic.dat



        The way I do that is via the --file=xxx option, that lets me load data and run reports.

        But the idea of -e/--execute is good, I guess that would suggest a --load=/var/log/apache/access.log* flag to go along with it, because otherwise you'd need to edit the startup file to load the data first!

        I'll add both flags, and send you a PM when they're present. Sometime today I'm sure :)


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://695109]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2022-08-17 04:37 GMT
Find Nodes?
    Voting Booth?

    No recent polls found