Apache2GDL is a Perl script that automatically generates visitor movement graphs from Apache log files, thus helping you answer the following questions:
|
Nodes represent pages of a given Web site while edges represent visitor movements between them. Node colors and edge thicknesses reflect the number of visitors that have visited a particular page or followed a particular path. Optionally, edges can be labeled with the number of visitors that have followed them.
Apache2GDL © 2005 AbsInt Angewandte Informatik GmbH. The script may be freely distributed as long as it is not modified in any way. You may make enhancements for your personal use, but please let us know so we can share them with the aiSee community.
> gunzip apache2gdl.pl.gz
> chmod 755 apache2gdl.pl
> cat <input log> | apache2gdl.pl [URL pattern] > <output graph>
The URL pattern should be set to the
name of your domain (example.com) or a particular directory
within that domain (example.com/something). Example:
> cat /var/log/absint_com_2004_access.log |
apache2gdl.pl absint.com/aisee/download >
graph.gdl
You can specify a list of directories as well:
> cat /var/log/aisee_com_access.log |
apache2gdl.pl aisee.com/gdl aisee.com/svg aisee.com/png >
graph.gdl
Instead of writing the graph to a file, you can directly pipe it through aiSee and get a mapped SVG or PNG image of the layout. Examples:
|
![]() |
|
![]() |
Including a trailing slash in the URL pattern
may result in a different graph being produced.
If you have any questions to ask or bugs to report, fire off an email to alex@absint.com. If you like the script, please rate it at freshmeat.net.