Hello! On Fri, Feb 03, 2017 at 01:17:30PM +0100, Kai Stian Olstad wrote:
> 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? Much like for the $hostname variable, for syslog logging nginx uses whatever is returned by the gethostname() call. It's up to you to configure fully qualified domain name as a hostname of a particular server. -- Maxim Dounin http://nginx.org/ _______________________________________________ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx