Reference Conf File within Conf File or Apply Rule to All Listening RSyslog Ports

We have individual conf files for each listening port. We want to create a single conf file that will filter/drop specific things such as, if msg from IP drop it or if msg contains x drop it. And have the filtering apply to all listening ports. Is this possible to do?

We're trying to avoid updating the drop/filter in each conf file for each port every time the filter has a new update.

Would anyone happen to know if one of the following things is possible with RSyslog?

  1. Have 1 conf file that will listen on all rsyslog ports and be processed first? Without specifying each open port.

  2. Have a conf file that calls another file with a rule in it?

Appreciate any help with this.



Comments

Popular posts from this blog

Spring Elasticsearch Operations

Network Error and Timeout on Authorize.net JS

Object oriented programming concepts (OOPs)