Personalchef is a Python-based tool that scans webserver logs and generates a sorted collection of search terms that resulted in the page being accessed.
Personalchef is compatible with any logfile that records the Referrer in the eleventh field when counting whitespace-separated strings of non-whitespace. Quotes do not affect the tool's functionality, meaning that "GET /foo.html" will be counted as two fields. Personalchef is straightforward to use with an intuitive command line. If you discover new patterns, the creator of the tool is grateful to hear about them.
The software creator extends his gratitude to towo for the fantastic name and to Patrick for the idea on how to boost its efficiency by a factor of four. Starting from version 0.3, Personalchef takes advantage of the Psyco optimizing Python module. If installed, Personalchef automatically uses it. To disable it, comment out or remove the line "import psycho" near the top of the program.
However, it is worth noting that while Psyco provides about 30% enhancement in speed, it nearly doubles RAM usage. Thus, on an Athlon-1833, analyzing a 250k-line log file can take 11s and occupy 6M if Psyco is not enabled, versus 7s and 11M when it is. Overall, Personalchef is a reliable tool for analyzing webserver logs and generating a clear list of the leading search words.
Version 0.3: N/A