Re: Nginx only sends hostname to syslog.

2017-02-08 Thread Maxim Dounin
Hello! On Wed, Feb 08, 2017 at 09:05:19AM +0100, B.R. via nginx wrote: > From what I read > , > 'host name' aka name of the host is a FQDN in the hostname.domain format ( > domain being able to have n level-s). Just

Re: Nginx only sends hostname to syslog.

2017-02-08 Thread B.R. via nginx
; 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. >>> >>>

Re: Nginx only sends hostname to syslog.

2017-02-07 Thread Kai Stian Olstad
quot; "$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,

Re: Nginx only sends hostname to syslog.

2017-02-03 Thread Maxim Dounin
uest_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

Nginx only sends hostname to syslog.

2017-02-03 Thread Kai Stian Olstad
er=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 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx