CPAN Perl module Data-Mining-AssociationRules-0.10 (Data::Mining:AssociationRules )
can be used for data mining association rules from weblog.
Consider the task where webmaster wants to know rules such as if the web user visited page A (and/or page B ....) then
page Y also is visited.
To accomplish this weblog file should be converted to specific file format that is used by
Data::Mining:AssociationRules.
The following is example of this format
ip_number1 page_name1
ip_number1 page_name2
......................
ip_number2 page_name1
......................
where pages in one visit or for one web user have the same ip_number.
The support and confidence are set to the default values in the script.
The program generates text files with item sets that satisfy entered support and confidence level and one more file
with association rules.
The perl script that converts the weblog to specific format and then extracts association rules is provided under the link in the references section.