PGBouncer

Logs Collected

Below is an example of some logs for PGBouncer being displayed in Google Stackdriver Logging. The data collected is being retrieved from the PGBouncer log files.

12251225

PGBouncer Logs Example

Log Collection Setup

Follow these steps to setup log collection from PGBouncer.

Pre-requisites

  • Locate the path to the PGBouncer log files

Configure a PGBouncer Source

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

Logs Tab

  1. Select the Sources tab.
249249

Sources Tab

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

Add Source Configuration Button

  1. Choose PGBouncer
  2. Fill out the PGBouncer log configuration options.
502502

PGBouncer Log Configuration Form