Docker Swarm

Logs Collected

The Docker Swarm log bundle collects and sends log data to Google Stackdriver Logging from the following types of logs:

  • kernel
    Events and information related to the host OS kernel
  • dockerd
    Events and information related to the dockerd daemon.
  • containerd
    Events and information related to the containerd daemon
  • NetworkManager
    Events and information related to Docker Swarm service networks

The following images are examples of the information that can be seen when using the Docker Swarm log bundle.

19581958

kernel logs example

19541954

dockerd logs example

19561956

containerd logs example

19521952

NetworkManager logs example

Supported Versions

Docker Engine API version 1.30 and all previous versions

Log Collection Setup

Configure a Docker Swarm Log 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 Docker Swarm
  2. Fill out the Docker Swarm configuration form
417417

Docker Swarm Log Configuration Form