log-format or log_format?
Docs use log-format but output is log_format. Which should be used? Is this valid output? Here is my current output which isn't working:
time-format %T
date-format %d/%b/%Y
log_format nginx
log_format COMBINED
exclude-ip 192.168.1.1-192.168.1.255
Now I cannot find log_format nginx anywhere in the documents.
nginx log_format : v1{]$host{]$request{]-{]$time_local{]$status{]-{]$request_time{]$body_bytes_sent{]$bytes_sent{]$remote_addr{]$http_x_forwarded_for{]$http_referer{]-{]$http_user_agent{]-{]-{]$http_via{]-{]$upstream_addr{]$upstream_response_time{]$server_addr{]launcher
log example: v1{]my.host.com{]GET /url/goes/here/ HTTP/1.1{]-{]07/Jun/2023:07:57:59 +0800{]200{]-{]0.055{]8028{]8451{]192.168.1.1{]192.168.1.1{]-{]-{]okhttp/3.8.0{]-{]-{]-{]-{]192.168.1.1{]0.055{]192.168.1.1{]launc
How do I convert the above nginx log format to goaccess log format?