Syslog filters are created and configured at the libraries syslog-filters level.
To create a syslog filter, use the following command:
Admin@nodename# create libraries syslog-filters <parameters>
Specify the following parameters:
Parameter |
Description |
---|---|
name |
Filter name. |
description |
Filter description. |
login-address |
String used to look up user IP address in syslog message. |
login-event |
String used to look up user login event in syslog message. |
login-username |
String used to look up username in syslog message. |
logout-address |
String used to look up user IP address in syslog message. |
logout-event |
String used to look up user logout event in syslog message. |
logout-username |
String used to look up username in syslog message. |
To edit information on a syslog filter, use the following command:
Admin@nodename# set libraries syslog-filters <filter-name> <parameters>
Parameters which could be updated are the same parameters which are specified when creating a filter.
To display information on a syslog filter, use the following command:
Admin@nodename# show libraries syslog-filters <filter-name>
To remove a syslog filter, use the following command:
Admin@nodename# delete libraries syslog-filters <filter-name>