我想用goaccess解析和分析nginx日志,并从分析的日志中获取报告.但是,当我运行该zcat -f access.log.*.gz | goaccess -a -c命令时,它给我以下错误:
GoAccess - version 0.5 - Jun 26 2012 04:30:08
An error has occurred
Error occured at: parser.c - process_log - 584
Message: No date format was found on your conf file.
Run Code Online (Sandbox Code Playgroud)
我试图将行添加date_format %D %T到.goaccessrc文件但我得到另一个错误,即:
GoAccess - version 0.5 - Jun 26 2012 04:30:08
An error has occurred
Error occured at: parser.c - process_log - 588
Message: No log format was found on your conf file.
Run Code Online (Sandbox Code Playgroud)
我认为它要求nginx使用的日期和日志格式.但我的nginx配置中没有任何日期或日志格式.
另外,我试图使用以前版本的goaccess(0.4.2版本), …