I need to redirect Nginx access and error logs to a remote syslog server. From http://nginx.org/en/docs/syslog.html I saw that I can do:
error_log syslog:server=192.168.1.1;
However I need to redirect to a specific TCP (not UDP!) port and I tried with:
error_log syslog:server=192.168.1.1:3000;
but it doesn't pass through. How can specify to Nginx that the port should be TCP and not UDP?
Many thanks!