CLI Reference SEM Configuration Commands
Ruijie(config-applet)#exit
Define the command line based SEM policy.
event syslog
This command is used to configure a log monitor in SEM configuration mode. The no form of
this command is used to delete an event with the specified name.
event tag event-name [correlate {andnot | and | or}] syslog pattern regular-expression
[priority priority-level] [occurs num-occurrences] [period period-value] [skip {yes | no}]
no event tag event-name
correlate { andnot |
and | or }
The relation between the current event and
the combination of the previous events in the
case of multiple events (optional). The
values are and, or, and andnot.
pattern
regular-expression
The character string for log content patterning.
Pattern the log priority.
The occurrence times to trigger an event
(optional). By default, it is 1.
The validity period of the occurs operation
(optional). When the time set by period-value
is due, the occurs operation times out. This
parameter is invalid when occurs is 1.
Indicate whether to skip the Syslog. If it is set
to yes, the patterned log will be skipped. The
default setting is no.