When configured as a syslog server, NetScaler MAS receives all syslog messages sent to it by the configured NetScaler instances. There might be a large number of messages that you might not want to see. For example, you might not be interested in seeing all informational level messages. You can now discard some of the syslog messages that you are not interested in. You can suppress some of the syslog messages coming into NetScaler MAS by setting up some filters. NetScaler MAS drops all messages that matches with the criteria. These dropped messages do not appear on the NetScaler MAS GUI and these messages are also not stored in the customer's NetScaler MAS database.
You can suppress some of the logged syslog messages coming into NetScaler MAS by setting up some filters. The two filters that can be used for suppressing syslog messages are severity and facility. You can also suppress messages coming from a particular NetScaler instance or multiple instances. You can also provide a text pattern for NetScaler MAS to search and suppress messages. NetScaler MAS drops all messages that matches with the criteria. These dropped messages do not appear on the NetScaler MAS GUI and these messages are also not stored in the customer database. Therefore, a good amount of space is saved on the storage server.
Some use cases for suppressing syslog messages are as follows:
- If you want to ignore all information level messages, suppress level 6 (informational)
- If you only want to record firewall error conditions, suppress all levels other than level 3 (errors)
Suppressing Syslog Messages by Creating Filters
- In NetScaler MAS, navigate to Networks > Events > Syslog Messages > Suppress Filter.
- On Create Suppress Filter page, update the following information:
a. Name - type a name for the filter.
Note: If different users have different access to multiple NetScaler instances, different filters must be created for different instances as users can see only those filters in which they have access to all the instances.
b. Severity - Select and add the log levels for which you must suppress the messages. For example, if you do not want to view any informational messages coming in, you can select Informational to suppress those messages.
c. Instances - Select the NetScaler instances on which the syslog messages have been configured.
d. Facilities - Select the facility to suppress messages on the basis of the source that generates them.
e. Message Pattern - You can also type a text pattern surrounded by asterisk (*) to suppress the messages. The messages are searched for the text pattern string and those messages that contain this pattern are suppressed.
Disabling the filter
To allow the messages to be viewed on NetScaler MAS, you must disable the filter.
- Navigate to Networks > Events > Syslog Messages > Suppress Filter, and on Suppress Filter page, select the filter and click Edit.
- On Configure Suppress Filter page, clear Enable Filter check box to disable the filter.