Artificial intelligent assistant

Changing the Facility of outgoing syslog message using rsyslog configuration I need to change the facility of the syslog message going out to a remote syslog server. I am using rsyslog in my system. I am using the following configuration to forward logs to another syslog server: `*.* 16.12.45.59:514` Now I would like to change the facility of all the syslog messages which is going to this server as 'user'. Is it possible to do this? I am referring the property replacer document . However I am not sure whether I can do that. Please provide some examples too.

**No** ,it is not possible to change the _facility/severity_ of log messages.

The property replacer document is for regex operations on the log message and not the facility/severity.

The rsyslog sends the packet with its header and log message.The log message can be manipulated with Regex but the header contains the facility and severity which is handled by rsyslog/syslog.

You can pass the _facility/severity_ through log message to remote syslog server,but the syslog server would take _facility/severity_ from header of the packet.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 8d8f5f6e08c06d6db9f124a2238b31d2