Forum Discussion
Issue Using Multiple Filters with Syslog-ng
You may have already tried this, but in may documents for filters in syslog-ng that appear on devcentral, you need to remove and re-add any syslog remote server before the filters are to take effect. Please see the impact of the procedure below.
Removing the currently defined remote syslog servers
You must remove the current defined remote syslog servers before you configure the include statement with the filter rule and destination server. To do so, perform the following procedure:
Impact of procedure: Log messages will not be sent to the currently defined remote syslog servers until the remote syslog servers are re-added in the following procedure.
- Log in to tmsh by typing the following command:
- tmsh
- To list any currently defined remote syslog servers, if configured, type the following command:
- list /sys syslog remote-servers
- The following is an example of the command output on a BIG-IP system that is configured with a remote syslog server at IP address x.x.x.x:
- sys syslog {
- remote-servers {
- host x.x.x.x
- }
- }
- Take note of any currently defined remote syslog server information; you will need it in the following procedure.
- To remove the currently defined remote syslog servers, type the following command:
- modify /sys syslog remote-servers none
- Save the change by typing the following command:
- save /sys config partitions all
Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com