- /rancher/v2.x/en/tasks/logging/

Rancher can integrate with a variety of popular logging services and tools that exist outside of your Kubernetes clusters.

Rancher supports the following services:

Requirements

Docker daemon should be configured with the (default) log-driver: json-file. You can check the log-driver by running the following command:

$ docker info | grep 'Logging Driver'
Logging Driver: json-file

Advantages

Setting up a logging service to collect logs from your cluster/project is helpful several ways:

Logging Scope

You can configure logging at either cluster or project level.

Note: You can only configure one logging service per cluster or project.

After collection, all logs are stored by your logging service. Log into your service to view them.

Logging Architecture