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 kerneldockerd
Events and information related to the dockerd daemon.containerd
Events and information related to the containerd daemonNetworkManager
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.

kernel logs example

dockerd logs example

containerd logs example

NetworkManager logs example
Supported Versions
Docker Engine API version 1.30 and all previous versions
Log Collection Setup
Configure a Docker Swarm Log Source
- Install the BindPlane Log Agent on the host system.
- Login to BindPlane and select the Logs tab.

Logs Tab
- Select the Sources tab.

Sources Tab
- In the top-right portion of the screen, click on the Add Source Configuration button

Add Source Configuration Button
- Choose Docker Swarm
- Fill out the Docker Swarm configuration form

Docker Swarm Log Configuration Form
Updated almost 4 years ago