Remotely Backing Up Logs to a Syslog Server
Scenarios
To enhance data disaster recovery management and improve audit data security and system scalability, you can back up configuration logs on a remote Syslog server.
If you enable remote backup to a Syslog server, the system backs up logs in real time, generates log files, and uploads the backup files to the Syslog server.
Types of Logs That Can Be Backed Up
Table 1 lists the types of logs that can be backed up to a Syslog server.
| Log Type | Log Description |
|---|---|
| System login log |
|
| System operation log |
|
| Resource login log |
|
| Command operation log |
|
| File operation log |
|
| Two-person authorization log |
|
Prerequisites
- The role you belong to has the management permission for the System module. For details about how to check the permissions of each role, see Role.
- You need to prepare a Syslog server.
Enabling Auto Backup to a Syslog Server
If you enable remote backup to a Syslog server, the system backs up logs in real time, generates log files, and uploads the backup files to the Syslog server.
- Log in to your bastion host system.
- In the navigation pane on the left, choose to go to the log backup management page.
- On the right of the Backup to the syslog server area, click Edit. In the displayed dialog box, complete required parameters.
Table 2 Parameters for configuring the Syslog server Parameter
Description
Status
Whether to back up data to the Syslog server. This function is disabled by default.
: Backing up logs to a Syslog server is enabled. After this function is enabled, the system automatically backs data up in real time every day.
: Backing up logs to a Syslog server is disabled.
Sender Identifier
Identifier for connecting your bastion host to the Syslog server. The identifier is used to identify the bastion host from which the logs are received on the Syslog server.
Server IP
The IP address of the Syslog server.
Port
The port used by the Syslog server.
Protocol
The protocol used by the Syslog server.
- The options are TCP or UDP.
- If TCP is selected, click Test connectivity to check whether the server is reachable.
Backup Content
Type of logs to be backed up. Select at least one type.
For details about supported types, see Types of Logs That Can Be Backed Up.
- Click OK. You can then view the backup information on the Log Backup tab.
Follow-up Operations
- To disable Syslog server backup, click Edit. In the displayed dialog box, set Status to Disabled.
- To view or download logs backed up to the Syslog server, log in to the Syslog server.
What is your overall rating for this page?
Thank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot