#55·ngxtop

How to custom my nginx log format?

Author: ihaolinCreated Aug 25, 2015Updated Aug 22, 2019

Hello, My nginx log is defined, like :

nginx
log_format    main   '$remote_addr - $remote_user [$time_local] "$request" '
                     '$status $body_bytes_sent "$http_referer" '
                     '"$http_user_agent" "$http_x_forwarded_for" $request_length $request_time $bytes_sent ' 
                     '"$upstream_cache_status"';

What should I use ngxtop with this log_format, I don't discover an option for this situation.

Thanks & Regards