admin-syslog-match-show
This command is used to display sylog match filters.
Syntax admin-syslog-match-show
syslog-name name-string |
Name of the syslog file. |
Specify the following match arguments: |
|
msg-category event|audit|session|system|perror|container|os-logs|xact-truncate |
Category of the message. |
msg-program program-string |
Name of the program used to generate the log messages. |
msg-pid pid-number |
The product ID generating log messages. |
msg-name name-string |
Name of the message. |
msg-code code-number |
The message code. |
msg-level critical|error|warn|note|info |
The message severity level. |
msg-event-type systm|port|tcp|stp|igmp|lldp|lacp|vdp|ecp|evb|ptp|storage|tacacs|mld|mroute|vport|lacp-port-event |
The type of log event. |
msg-vnet vnet-name |
The name of the vNET. |
msg-remote_switch node-name |
The name of the remote switch. |
msg-user user-name |
Displays the user name. |
msg-client-pid client-pid-number |
The product ID to match. |
msg-client-addr ip-address |
The client IP address to match. |
msg-port port-number |
The port to match. |
msg-vlan 0..4095 |
VLAN to match. |
msg-bd bridge-domain name |
Bridge Domain to match. |
msg-vxlan vxlan-string |
VXLAN to match. |
msg-start-time date/time: yyyy-mm-ddThh:mm:ss |
The start time of the messages. |
msg-end-time date/time: yyyy-mm-ddThh:mm:ss |
The end time of the messages. |
msg-duration duration: #d#h#m#s |
The duration of the messages. |
msg-count number |
The message count from 1 to 50000. |
msg-starting-point starting-point-number |
Message starting point to match |
msg-length length-number |
Message length to match |
msg-reverse|no-msg-reverse |
Reverse the order of the messages. |
msg-since-last-reset|no-msg-since-last-reset |
Messages since the log reset. |
name name-string |
Name of the matching scheme. |
set facility kern|user|mail|daemon|auth|syslog|lpr|news|uucp|clock|security|ftp|ntp|audit|alert|cron|local0|local1|local2|local3|local4|local5|local6|local7|0..23 |
The facility type. |
set severity emerg|alert|crit|err|warning|notice|info|debug|0..7 |
The severity of the event to match or add. |
Defaults None
Access CLI
History
Version 1.2 |
Command introduced. |
Version 2.3.3 |
The parameter vport added to message event type. |
Version 6.0.0 |
The parameter info added to msg-level. |
Usage Use this command to display syslog match filters.
Examples To display the syslog match configuration, use the following command:
CLI (network-admin@Leaf1) > admin-syslog-match-show
syslog-name msg-category msg-level name
-------------- ------------ --------- -------
to-10.10.10.10 event match-1