To forward AmpCon-DC logs to other external Syslog servers, configure as follows:
Table of Contents | ||
---|---|---|
|
Prerequisite
Ensure that the Syslog service of the target server is enabled.
Procedure
To update the encrypt key, follow these steps:
Log in to the AmpCon-DC UI, and click Service > System Config.
On the “Global System Config”page, click Syslog Config.
Input the following information:
IP: The IP address of the external Syslog server.
Port: The port number of the external Syslog server.
Protocol: TCP or UDP.
Level: SUCCESS or ERROR. The mapping rules of Ampcon-DC Log levels and Syslog rules are as follows:
SUCCESS is equal to info (level=6)
ERROR is equal to warning (level=4)
For example, if the ERROR level is specified, the Syslog server receives logs with a warning level or higher from Ampcon-DC.
Click Add.
Verifying Syslog Forwarding
To verify whether AmpCon-DC logs can be forwarded to the Syslog server, follow these steps:
Log in to the AmpCon-DC UI, and click Service > System Config.
In the License Portal User field, enter an incorrect username, and click Save.
Access the AmpCon-DC server by using MobaXterm for verification.