Search Log
The core Search module provides a simple list of top search phrases from the watchdog log using the function watchdog_top. However, most sites clear watchdog frequently. Search Log stores search terms indefinitely and provides more robust reporting.
- Search Log supports all modules which implement hook_search(). Modules can be configured to be excluded from logging.
- Search Log supports the search page, search block and theme search forms. By default, logging is performed at form submit before the search results are generated, but developers can implement a search_log hook to add additional entries to the log or record failed searches.
- Search Log table can be truncated at a user-specified interval or kept indefinitely.
- Search Log reporting can be filtered by date, module and (if implemented by a developer) status.
- Search Log provides a configurable block of Top Searches.
Prerequisites
Search.module is enabled.
Installation
- copy the search_log directory and all its contents to your modules directory
- enable the module: admin/build/modules. The module will install one table into your database.
- configure the module: admin/settings/search/search_log
Usage
After enabling the module, the Search Log report can be viewed at:
admin/logs/search
Additionally, the Top Searches block can be enabled and configured at:
admin/build/block
Known Issues
None
Download
Download package and report bugs, feature requests, or submit a patch from the project page on the Drupal web site.
Todo List
None
Credits
Module development sponsored by Consumer Search, a service of About.com, a part of The New York Times Company.
Releases
| Official releases | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 5.x-1.01 | 2008-Dec-09 | 12.36 KB | Download · Release notes | Recommended for 5.x | |
