Configure system logging
Enable centralized syslog collection for ASA devices by configuring logging settings and defining syslog server parameters, which supports aggregation, protected storage, and operational troubleshooting.
System logging is a method of collecting messages from devices to a server running a syslog daemon. Logging to a central syslog server helps in aggregation of logs and alerts. Cisco devices can send their log messages to a UNIX-style syslog service. A syslog service accepts messages and stores them in files, or prints them according to a simple configuration file. This form of logging provides protected long-term storage for logs. Logs are useful both in routine troubleshooting and in incident handling.
Security Levels
This table lists the syslog message severity levels.
|
Level Number |
Security Level |
Description |
|---|---|---|
|
0 |
emergencies |
System is unusable |
|
1 |
alert |
Immediate action is needed. |
|
2 |
critical |
Critical conditions. |
|
3 |
error |
Error conditions. |
|
4 |
warning |
Warning conditions. |
|
5 |
notification |
Normal but significant conditions. |
|
6 |
informational |
Informational messages only. |
|
7 |
debugging |
Debugging messages only. Log at this level only temporarily, when debugging issues. This log level can potentially generate so many messages that system performance can be affected. |
Note | ASA does not generate syslog messages with a severity level of zero (emergencies). |
Before you begin
Follow these steps to configure system logging:
Procedure
Step 1 | In the edit ASA system settings page, click Syslog in the left pane. | ||
Step 2 | Uncheck the Retain existing values checkbox to configure the values for the shared ASA system settings policy.
| ||
Step 3 | Configure these options:
| ||
Step 4 | Click
| ||
Step 5 | Click Save. |
The syslog configuration is saved to the shared ASA system settings policy. Logging is enabled with the specified levels and server details, and ASA devices send syslog messages to the configured server.
to add Syslog server details.