Cisco CatOS for Catalyst Switches
The JSA DSM for Cisco Catalyst Switches running Cisco CatOS accepts events by using syslog.
JSA records all relevant device events. Before you configure a Cisco CatOS device in JSA, you must configure your device to forward syslog events.
Configuring Syslog Forwarding for Cisco CatOS Devices
Before you configure a Cisco CatOS device in JSA, you must configure your device to forward syslog events.
-
Log in to your Cisco CatOS user interface.
-
Type the following command to access privileged EXEC mode:
enable
-
Configure the system to timestamp messages:
set logging timestamp enable
-
Type the following command with the IP address of JSA:
set logging server <IP address>
-
Limit messages that are logged by selecting a severity level:
set logging server severity <server severity level>
-
Configure the facility level to be used in the message. The default is local7.
set logging server facility <server facility parameter>
-
Enable the switch to send syslog messages to the JSA.
set logging server enable
You are now ready to configure the log source in JSA.
Syslog Log Source Parameters for Cisco CatOS for Catalyst Switches
If JSA does not automatically detect the log source, add a Cisco CatOS for Catalyst Switches log source on the JSA Console by using the syslog protocol.
When using the syslog protocol, there are specific parameters that you must use.
The following table describes the parameters that require specific values to collect syslog events from Cisco CatOS for Catalyst Switches:
Parameter |
Value |
---|---|
Log Source name |
Type the name of your log source. |
Protocol Configuration |
Syslog |
Log Source Identifier |
Type the IP address or host name for the log source. The identifier helps you determine which events came from your Cisco CatOS for Catalyst Switch device. |
Cisco CatOS for Catalyst Switches Sample Event Messages
Use these sample event messages to verify a successful integration with JSA.
Due to formatting issues, paste the message format into a text editor and then remove any carriage return or line feed characters.
Cisco CatOS for Catalyst Switches sample message when you use the Syslog protocol
Sample 1:The following sample event shows that a user logged in successfully.
<165>7622: Mar 12 09:19:27.675 PHT: %SEC_LOGIN-SW1-5-LOGIN_SUCCESS: Login Success [user: user1] [Source: 172.20.40.35] [localport: 22] at 09:19:27 PHT Mon Mar 12 2018
JSA field name |
Highlighted values in the event payload |
---|---|
Event ID |
LOGIN_SUCCESS |
Username |
user1 |
Source IP |
172.20.40.35 |
Sample 2: The following sample event shows that a user logged out successfully.
<166>7627: Mar 12 09:25:07.481 PHT: %SYS-SW1-6-LOGOUT: User qradar has exited tty session 3(172.20.40.35)
JSA field name |
Highlighted values in the event payload |
---|---|
Event ID |
LOGOUT |
Username |
qradar |
Source IP |
172.20.40.35 |