Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: Scalable Perl Webalizer Alternative(s)

by skx (Parson)
on Jul 02, 2008 at 10:02 UTC ( #695114=note: print w/replies, xml ) Need Help??


in reply to Re: Scalable Perl Webalizer Alternative(s)
in thread Scalable Perl Webalizer Alternative(s)

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.

Steve
--
  • Comment on Re^2: Scalable Perl Webalizer Alternative(s)

Replies are listed 'Best First'.
Re^3: Scalable Perl Webalizer Alternative(s)
by lihao (Monk) on Jul 02, 2008 at 14:12 UTC

    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

    thanks

    lihao

      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 :)

      Steve
      --

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://695114]
help
Chatterbox?
[marioroy]: sorry, did not know which if cmd.exe or unix (bash)
[choroba]: csh considered harmful
[erix]: no, I'm using bash :)
[marioroy]: :)
[marioroy]: I use the default and happens to be bash
[erix]: heh, I like the "Resolved" (Christiansen is really funny)
Discipulus is makita a reincarnation of grinder?
[erix]: I probably also need to understand TAP a bit better than I do

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (9)
As of 2017-03-23 08:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (285 votes). Check out past polls.