Already have an account? Sign In
Start analysing Rancher logs by following our easy configuration guide to ship logs to Logstash for centralised Rancher logging and analysis
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.
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.
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.'
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.
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.
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.
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.