Configure Logging in Nginx

Before you can configure Sumo Logic to ingest logs, you must configure configure logging of errors and processed requests in NGINX Open Source and NGINX Plus. For instructions, refer to the following documentation:

File Path (Required). Enter the path to your error.log or access.log. The files are typically located in /var/log/nginx/error.log. If you are using a customized path, check the nginx.conf file for this information. If you are using Passenger, you may have instructed Passenger to log to a specific log using the passenger_log_file option.

Source Host. Sumo Logic uses the hostname assigned by the OS unless you enter a different host name.

Source Category. Enter any string to tag the output collected from this Source, such as Nginx/Access or Apache/Access. (The Source Category metadata field is a fundamental building block to organize and label Sources. For details see Best Practices.)

Source Host. Sumo Logic uses the hostname assigned by the OS unless you enter a different host name.

Source Category. Enter any string to tag the output collected from this Source, such as Nginx/Access or Apache/Access. (The Source Category metadata field is a fundamental building block to organize and label Sources. For details see Best Practices.)

Recommended articles

Sumo Logic is the industry’s leading secure, cloud-native, machine data analytics service, delivering real-time, continuous intelligence across the entire application lifecycle and stack. More than 1,000 customers around the globe rely on Sumo Logic for the analytics and insights to build, run and secure their modern applications and cloud infrastructures.