This resolution article explains how to configure an SRX device to send logs to an external syslog server when the route to reach the server is via a custom routing instance, rather than the default routing instance. By default, SRX devices perform route lookups for syslog messages using the default routing instance. This article covers the steps to modify the syslog configuration to ensure the custom routing instance is used for external syslog communication.
Resolution:
set system syslog host <syslog-server-ip> routing-instance <routing-instance-name>