Overview
Syslog is a protocol used for sending and storing log messages across networked devices and systems. With Syslog, you can collect and analyze log messages, monitor system and network activity, set up centralized log management, and automate responses to critical events. This enhances operational visibility and ensures the reliability and stability of your applications and infrastructure. Follow the steps below to configure log shipping to Syslog.Step 1 - Credential Procurement
A Syslog server endpoint and port are required to ship logs to Syslog.Step 2 - Configure External Logging
External logging can be configured by using either the UI Console or CLI.Enable Logging using the UI Console
- From the Control Plane Console UI, click on
Orgin the left menu. - Click
External Logsin the middle context menu. - Select
Syslogand fill out the required fields. - Click
Save. - After the configuration is complete, log entries will begin forwarding to your Syslog Server within a few minutes.
Enable Logging using the CLI
The external logging configuration can be created / updated using the CLI’scpln org patch ORG_NAME -f FILE.yaml command.
Below is an example of an Org manifest (in YAML). Edit and save the YAML as a file and use it as an input to the CLI’s cpln org patch ORG_NAME -f FILE.yaml command.
Refer to the credential procurement section to obtain and configure the necessary credentials.
- Substitute: ORG_NAME, HOST_NAME, PORT, and possibly the severity.
YAML