Re: [rsyslog] How to syslog to log to both local files (e.g /var/log/messages) _and_ remotly to syslog server?

2018-10-10 Thread John Chivian
How can I add multiple IP addresses/hosts into the target = "" statement? You don't.  You have one action for each target, and each of the actions should have a unique name and queue.filename specified.  Research the other values and set as appropriate for your environment. Regards, On 10/

Re: [rsyslog] How to syslog to log to both local files (e.g /var/log/messages) _and_ remotly to syslog server?

2018-10-10 Thread sophie.loewenthal--- via rsyslog
Hi John and David Lang, Thanks for the configuration & suggestions. I should set this up on both the client & the server, because the server also forwards to a logstash box. How can I add multiple IP addresses/hosts into the target = "" statement? I looked on https://www.rsyslog.com/doc/v