Re: [rsyslog] Rsyslog: how do I override the hostname when forwarding log messages?

2018-02-19 Thread David Lang
Templates are how you format output (including forwarding), how messy this is depends on what you are doing. You could have all your stuff send to 514UDP on localhost, and then have a filter that looks for any messages with a fromhost-ip of 127.0.0.1 and output them with a template that has a

Re: [rsyslog] Rsyslog: how do I override the hostname when forwarding log messages?

2018-02-19 Thread deoren
On 2/19/2018 9:26 AM, deoren wrote: On 2/19/2018 8:52 AM, Graham Leggett via rsyslog wrote: Hi all, I have a number of java services that include support for logging to syslog, but unfortunately they can only log by sending udp packets to port 514. This is not in itself a problem, however t

Re: [rsyslog] Rsyslog: how do I override the hostname when forwarding log messages?

2018-02-19 Thread deoren
On 2/19/2018 8:52 AM, Graham Leggett via rsyslog wrote: Hi all, I have a number of java services that include support for logging to syslog, but unfortunately they can only log by sending udp packets to port 514. This is not in itself a problem, however these services have no stable predictab