Lots of people want to store messages received from remote systems into specific files and not make them appear in the standard local log files.
Its actually one of the most frequently asked question on rsyslog forum and mailing list.
This tutorial shows how to do it.
Note: the tutorial is for legacy config format in order to help most people gain benefit from it.
Источник: rutube.ru