Skip to content



NGINX is an HTTP and reverse proxy server, a mail proxy server, and a generic TCP/UDP proxy server. It has a lot of features and because it is located between your application and your clients, it can give you a lot of information about either of them.

Event Categories

The following table lists the data source offered by this integration.

Data Source Description
Web logs Nginx logs provide many information like the connected client, the requested resource, the user agent or the response status.


As of now, the main solution to collect Nginx logs leverages the Rsyslog recipe. Please share your experiences with other recipes by editing this documentation.


The following snippet is an illustration of rsyslog configuration to monitor nginx's error.log and access.log files.

# error log
$InputFileName /var/log/nginx/error.log
$InputFileTag nginx:
$InputFileStateFile stat-nginx-error
$InputFileSeverity error
$InputFileFacility local5
$InputFilePollInterval 1

# access log
$InputFileName /var/log/nginx/access.log
$InputFileTag nginx:
$InputFileStateFile stat-nginx-access
$InputFileSeverity notice
$InputFileFacility local5
$InputFilePollInterval 1

The reader can consult the Rsyslog Transport documentation to forward these logs to SEKOIA.IO.

Further Reading