Create a custom event list
Create a custom event list to filter and send specific ASA syslog events to logging destinations such as syslog servers or Secure Event Connectors in the Cisco Cloud.
Create a custom event list when you are sending ASA syslog events to the Cisco Cloud using one of these methods:
-
Send ASA Syslog Events to the Cisco Cloud Using the Command Line Interface
-
Send ASA Syslog Events to the Cisco Cloud using a Security Cloud Control Macro
You can create an event list, also referred to as a message_list, based on these three criteria:
-
Event Class
-
Severity
-
Message ID
Before you begin
Follow these steps to create a custom event list to send to a specific logging destination:
Procedure
Step 1 | From the left navigation bar, click Security Devices. | ||||
Step 2 | Click the Devices tab. | ||||
Step 3 | Click the appropriate tab and select the ASA whose syslog messages you want to include in a custom event list. | ||||
Step 4 | In the Device Actions pane, click >_ Command Line Interface. | ||||
Step 5 | Use this command syntax to issue the logging list command to the ASA:
logging list
name
{
level
level
[
class
message_class
]|
message
start_id
[
-end_id
]}
The name argument specifies the name of the list. The level level keyword and argument pair specify the severity level. The class message_class keyword-argument pair specify a particular message class. The message start_id [-end_id] keyword-argument pair specify an individual syslog message number or a range of numbers.
| ||||
Step 6 | Save your Changes to the Startup Config At the command prompt, type write memory. Example:
|
The custom event list is created and saved to the ASA startup configuration. The ASA will now filter and send syslog messages to the Cisco Cloud based on your specified criteria.