Ready to get going? Start your 14 days free trial today

Start free trial

Have an account? Sign in

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

Rancher

Ship logs from Rancher to logstash

Start analysing Rancher logs by following our easy configuration guide to ship logs to Logstash for centralised Rancher logging and analysis

Step 1 - Choosing a Logging ServiceCopy

Using the top menu navigate to Tools and select Logging.

You are going to be logging using Syslog so make sure you select that as your logger of choice.

Step 2 - Syslog ConfigurationCopy

First you need to enter your endpoint, this can be found by going to Stack Options >> Logstash Inputs >> Stack Logstash Endpoint.

This will be followed by your syslog-ssl port number.

your-logstash-host:your-port

At the end of the Endpoint is an option for UDP / TCP, you will be using TCP.

You can enter a suitable name for your program such as Rancher.

You can also choose which Log Severity you want to log from. You will be using the default of 'Notice.'

Step 3 - Encryption ConfigurationCopy

Now we need to enable the TLS option and the SSL verify.

You can use Logit's certificate by downloading our star.logit.io.crt file. https://cdn.logit.io/star.logit.io.crt

Once you have downloaded the certificate file you need to add it to the CA Certificate PEM section by using the button to read it from a file.

We recommend you always send your logs over TLS, you can send your logs without TLS, but this isn't recommended.

Step 4 - Finalising and Testing your SettingsCopy

In this final section you can add any custom log fields you wish.

You can also Test your configuration settings, by hitting the test button.

Provided the settings you have enterred are correct you will see an output similar to the screenshot below.

If you do see that your settings have validated hit save and your logging should commence.

Step 5 - Rancher Logs OverviewCopy

Rancher is a popular open-source software used by teams that wish to manage multiple Kubernetes clusters across complex infrastructures. Rancher adds significant value to Kubernetes by providing a solution to the security challenges encountered when running containerized workloads at scale.

You may have recently seen that the company that created Rancher, Rancher Labs were acquired by SUSE & as a result of this acquisition have become one of the world’s biggest companies powering digital transformation.

If you don’t have centralized logging for managing your Rancher-server logs it can be difficult to tail logs reliability. As your container base grows in size they’ll often become a lot more complicated to troubleshoot efficiently. Without the addition of a monitoring solution, identifying errors proactively & setting alerts on predefined conditions can be hard to implement as your business grows in size.

Our built in HA (high availability) Rancher log file analyser can be used alongside our container monitoring solution to monitor your server, debug & metric logs. Allow your teams to easily alert & identify issues within your Rancher environment for further processing. With Logit you’ll also enable your DevOps team to easily include this data as part of your reporting with our Kibana based visualisations.

Learn more about container monitoring

If you need any assistance with analysing your Rancher logs we're here to help. Feel free to reach out by contacting the Logit support team via live chat & we'll be happy to help you start analysing your data.

Toggle View

Expand View

Return to Search