Watchdog Event Extras screenshot

Overview

Allows other information to be displayed for log events.
I created this module as I would often find myself searching for an ip address of an event to see where the user was based.
This module overrides the standard event log page outputting the same and also allowing other modules to easily add more rows/info to the log report page (D7 hook, or D8 plugin).

Features

Currently it adds

  • Geo information and map for the event hostname/ip
  • Information reported from stopforumspam.com for the IP and also for the username for failed login attempts
  • Reverse DNS information from the service at http://www.statdns.com/api/ (THIS NO LONGER WORKS AS THE SERVICE IS NO LONGER FREE)

Branches

7.x-1.x -
7.x-2.x - This is for use with the Better Watchdog UI module
8.x-1.x -

Requirements

7.x-1.x -Core database logging to be enabled
7.x-2.x - Better Watchdog UI module
8.x-1.x -Core database logging to be enabled

API KEY
Google is now requiring an API key to use it's map api.
The geo map looks for a variable called "google_maps_api_key". There is no interface to set this, you have to add it to your settings.php file. eg.
$settings['google_maps_api_key'] = 'XXX';
get an api key HERE

Extending

The drupal 7 version provides a hook:
MYMODULE_watchdog_event_extras_alter(&$rows, $dblog)

The Drupal 8 version uses the plugin API
Look how this modules plugins are implemented by looking in the src/Plugin/WEE folder

Project information

  • caution Minimally maintained
    Maintainers monitor issues, but fast responses are not guaranteed.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • chart icon30 sites report using this module
  • Created by 2pha on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    Look for the shield icon below.

Releases