coreActivity

Events Data Logging

The data logged by the plugin is quite extensive, and there are two types of data logged: basic and expanded. Basic data is logged for every event (with few values being optional and controlled via plugin settings). Expanded data logged depends on the individual events.

Basic Logged Data

All these are logged in the main Logs database table.

  • Blog ID: used for multisite networks only; by default, it is set to 1 for standard websites.
  • Event ID: the ID of the event to log.
  • User ID: if the event is logged while the user is logged in, the user ID will be stored. In some request contexts, user will always be 0.
  • Logged: date and time when the event has been logged.
  • IP: IP of the request source. In some contexts, this can be empty (CLI requests).
  • Context: this is the context for the request. Standard requests have this empty. Other supported values include: AJAX, CRON, REST, and CLI.
  • Method: request method for the request. Supports: GET, POST, PUT, DELETE and more.
  • Protocol: this is the HTTP protocol version used by the request. If your server is behind a proxy, this value is useless and hidden by default.
  • Request: this is the entire HTTP request URL value.
  • Object Type: Events can be related to specific object types like Posts, Terms, Users, Blogs, Notifications… This makes it easier to identify the log entry target object.
  • Object ID: if the object is ID-based, this will be a numerical object ID.
  • Object Name: if the object is not ID-based, this will be a text-based object ID.

Expanded Logged Data

All these are logged in the Logs Meta database table. All the meta value is optional.

  • Referrer: this is the request referrer value (the request source).
  • User Agent: this is the user agent value coming from the request source (browser by default).

Depending on the event, a lot more meta values can be logged. All the meta-data is visible only in the log entry expanded meta row.

Spread the word about this plugin, share on social networks:

2
1
0
0
0
0
0
0
0