Skip to content

Nginx Logs Integration

To make use of the Sematext Nginx Logs integration, you'll need to send Nginx logs to your Sematext Logs App. The easiest way is via Discovery, which can parse Nginx logs out of the box.

Once data is in, you can explore it via the built-in reports:

Nginx Logs Overview

Be sure to check out the Nginx Monitoring integration as well, to get a complete view on Nginx. For example, if you see an increase in 4XX errors, monitoring can tell what's the impact on Nginx's response times and CPU usage.

Setting up Nginx Log Shipping

All you need to do is use Discovery to Set Up log shipping.

Exploring logs

Once data is in, you can explore it using the built-in reports or create your own. For example, you can use the Users report to check on where the requests are coming from:

Nginx Users Report

Other built-in reports include:

  • Errors: Logs specifically about errors. You can see which status codes are returned and which errors are logged by your Nginx server.
  • HTTP: Logs about Nginx access logs. Use this report to view any and all data about HTTP requests and responses.
  • Sources: Logs about Nginx source files. You can view where the logs are collected from and from where in the world users are accessing your Nginx server.


If you have trouble sending logs, try out the latest version of Sematext Agent. Also, make sure Sematext Agent is configured to send logs to your Nginx Logs App. If you're using Nginx in a container, make sure to configure it to output logs to the stdout/stderr streams. Last, check the Log Agents panel for any errors, and refer to our Sematext Logs FAQ for useful tips.