Logs Collected

The information being sent to Google Stackdriver Logging are events, or other logs, collected from the db2diag.log file. Below is an example of some events being sent to Google Stackdriver Logging using the BindPlane Log Agent.

IBM DB2 Logs ExampleIBM DB2 Logs Example

IBM DB2 Logs Example

Supported Versions

IBM DB2: 9.5+ LUW

Log Collection Setup

Follow these steps to setup log collection from IBM DB2 sources.

Pre-requisites

  • Locate the path to the IBM DB2 logs file

Configure an IBM DB2 Source

  1. Install the BindPlane Log Agent on the host system.
  2. Login to BindPlane and select the Logs tab.
Logs TabLogs Tab

Logs Tab

  1. Select the Sources tab.
Sources TabSources Tab

Sources Tab

  1. In the top-right portion of the screen, click on the Add Source Configuration button
Add Source Configuration ButtonAdd Source Configuration Button

Add Source Configuration Button

  1. Choose IBM DB2
  2. Fill out the IBM DB2 log configuration options.
IBM DB2 Log Configuration FormIBM DB2 Log Configuration Form

IBM DB2 Log Configuration Form