Syslog


    You can configure Rancher to send cluster or project logs to Syslog.

    • Browse to the cluster or project that you want to log.

    To Configure Cluster Logging:

    If you’re a cluster owner or member who works in operations or security, configure cluster logging.

    • From the Global view, open the cluster that you want to configure logging for.

    • From the main menu, select Tools > Logging.

    If you’re a who works on an application, configure project logging.

    • From the Global view, open the project that you want to configure logging for.

    • Select Syslog.

    • Complete the Syslog Configuration form.

      • From the Endpoint field, enter the IP address and port for your Syslog server. Additionally, select the protocol that your Syslog server uses from the drop-down.

      • If you are using a cloud logging service (i.e., Sumologic), enter a Token that authenticates with your Syslog server. Use the cloud logging service to create this token.

    • If your Syslog server uses TCP protocol, complete the SSL Configuration form.

      • Enter a private key and client certificate. Either copy and paste them or browse to them using Read from a file. This certificate will be installed on your logging server.

    You can use either a self-signed certificate or one provided by a certificate authority.

    You can generate a self-signed certificate using an openssl command. For example:

    • If you are using a certificate from a certificate authority (and not a self-signed certificate), select the Enabled - Input trusted server certificate option and then enter your Trusted Server Certificate.
    • Complete the Additional Logging Configuration form.

    • Click Save.

    Result: Rancher is now configured to send logs to your Syslog server. View your Syslog stream to view logs for your cluster and containers.