|Get best price on Samsung Galaxy S5, Copper Gold 16GB (Verizon Wireless)|
Perl: ProcLog Script to Search Keywords and Phrases
proclog.pl is a handy little script that processes Apache log files and extracts search keywords or phrases. You can use it as is, or to learn from it to apply the concepts to other perl scripts.
The report it creates is not beautiful. For this example, I process what people are typing into search engines to get to my site. The data is fairly raw but it gives me a rough idea of what terms are being used.
The report is spit out to the standard output (screen) so be sure to send it to a file if you want the report in a file.
proclog.pl [logfile] >report.html
You may have to edit the script and the way it parses the log file to retrieve the referer URL, which is the only bit of the log file needed. My logs have all data in one file, but it is also common to have the referers in a seperate log file.
Download Script: proclog_pl.txt
Analog - The most popular logfile analyser in the world
Test Google Ads Ver. 2
Free Linux Admin Books
Free Linux Books for Programmers
Free Books for Linux on the Desktop
Free PHP Books
Free Java Books - Advanced
Free Java Books - Basic
Free Perl Books
Free Python Books
Quote of the Day (PHP)
Debugging Part 2
How to Test Google Ads
Most Popular Pages
Baby Name Generator
U.S. Name Generator
Wu Name Generator
Upload and Resize an Image (PHP)
How To Install Apache + PHP + MySQL
Intro to Web Databases (PHP, MySQL)
Least Popular Pages
iNews Applet (Java)
Site Monitor (Perl)