Nginx server not sending logs to graylog

Hello everyone
I have configured seprate graylog server and seprate nginx server, the system logs from nginx server is displaying on graylog dashboard and i have configured graylog for nginx service by following the content package and enabled port which is given i am sharing the configuartion details below;

sudo  nano /etc/nginx/nginx.conf 

log_format  graylog2_format  '$remote_addr - $remote_user [$time_local] "$request" $status 
$body_bytes_sent "$http_referer" "$http_user_agent" "$http_$

access_log syslog:server=logs.xxx.xxx.xx:12301 graylog2_format;
errorlog syslog:server=logs.xxx.xxx.xx:12302;

thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.