Audit logs — F5 SE Outcome-based Learning documentation

Audit logsΒΆ

Objective:

Enable audit logs with NGINX

Why:

  • Write audit logs before and after security related events.

  • Consider logging token validation errors in order to detect attacks.

  • Take care of log injection attacks by sanitizing log data beforehand.

How:

NGINX has three main forms of logs; access, error, and security. Access and error logs can be stored at a local location like (/var/log), or be streamed to a syslog endpoint. NGINX Security logs from NGINX App Protect should be streamed syslog to an endpoint.

Note

Use NGINX App Protect for enhanced security logging and sensitive parameters

Example Documentation:

NGINX Documentation: