Send data via Rancher to your Logstash instance provided by Logit.io

Rancher

Ship logs from Rancher to logstash

Step 1 - Add New Service

Our official docker image is hosted on docker hub.

In the environment in which you wish to log, select "Add Service"

Step 2 - Setup the Service

We recommend you run one instance on every host, but this is up to you.

Name: logit-logging
Description: Send all logs over TLS to logit.io
Image: logit/logitio-docker

Add this to the command

syslog+tls://your-logstash-host:your-port

See Example:

Select the Volumes Tab:

/var/run/docker.sock:/var/run/docker.sock

Select Create Services and wait a minute and your logs will start to appear in kibana

We recommend you always send your logs over TLS, you can send your logs without TLS, but this isn't recommended, please contact support to discuss this.
expand view

Expand View

compact view

Compact View

Return to Search
Sign Up