Nginx only sends hostname to syslog.

Kai Stian Olstad nginx+list at olstad.com
Fri Feb 3 12:17:30 UTC 2017


Hi

To get the post data from Kibana I use Nginx as a proxy and have the 
following log format,

   log_format audit '$time_iso8601 "$remote_user" "$request_uri" 
"$request_body"';


and to send the log to syslog I use the following.

   access_log syslog:server=192.168.1.1,tag=audit audit;


But Nginx only sends hostname to syslog server, is it possible to 
configure Nginx to send fully qualified domain name?


-- 
Kai Stian Olstad


More information about the nginx mailing list