Logs Collected

The information sent to Stackdriver Logging is collected from:

  • NGINX Access Logs
  • NGINX Error Logs
2190

NGINX Access Logs Example

2183

NGINX Error Logs Example

Log Collection Setup

Follow these steps to setup log collection for NGINX.

Pre-requisites

Find the access and error logs file locations.

Configure an NGINX Source

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

Logs Tab

  1. Select the Sources tab.
249

Sources Tab

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

Add Source Configuration Button

  1. Choose NGINX
  2. Fill out the NGINX log configuration options.
491

NGINX Log Configuration Form