Send syslog to host on non-zero route domain v11.1+
Some time ago, I asked this question for v10. Now in v11.1 onwards, the behaviour has changed.
How can I send syslog messages to an address on a route domain other than %0 ?
I know it can be done with the log command in an irule: log 10.1.1.1%1 local0. "blah", but I want to log locally as well as to a remote syslog server, so I need to either include two log statements in my rules, or use the syslog configuration from the shell.
Under v10 I used the special IPv6 address which gave access to the IPv4 address with route domain. This no longer works.
Nor does specifying the address with %route domain. Below is an example I have tried:
destination d_mylogging{
my custom local file
file(\"/var/log/local/mylog\" create_dirs(yes));
this is accepted but doesn't work:
udp(\"10.1.1.1%1\" port(514));
this is accepted but doesn't work (but did under 10.x):
udp6(\"2620:0:c10:f501:0:1:a01:101\" port(514));
};
Can anyone suggest how to get around this?