Skip to content

How to configure NGNIX to send logs to CQ Server

Follow these steps to configure NGNIX to send logs to CYBERQUEST:

Add the following lines to the Nginx server configuration file (/etc/nginx/nginx.conf) in the "Logging Settings" section:

access_log syslog:server=IP Server CQ:5140,facility=local7,tag=nginx,severity=info;
log_format main '$remote_addr $server_name $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for" $server_port $upstream_bytes_received "$sent_http_content_type" $host "$https" "$http_cookie"';