How to write out access logs with custom format

I cannot find anything in the documentation that allows configuration to pipe access logs into a certain file following a certain format aligned with our format in Nginx.

I only see information about application logs - help?

log_format main '$remote_addr - $remote_user [$time_local] “$request” ‘’$status $body_bytes_sent “$http_referer” ’ '"$http_user_agent" “$http_x_forwarded_for” ’ ‘"$request_method $scheme://$host$request_uri" ($request_time ms)’;