goaccess nginx 日志分析 错误No time format was found on your conf file.
2017-02-11 10:44
721 查看
版权声明:本文为博主原创文章,遵循 CC 4.0 by-sa 版权协议,转载请附上原文出处链接和本声明。
本文链接:https://blog.csdn.net/qq3217494277/article/details/54981114
GoAccess - version 0.9.3 - Aug 28 2015 08:55:01
Config file: /root/mygoaccess.conf
Fatal error has occurred
Error occured at: src/parser.c - verify_formats - 1761
No time format was found on your conf file.
安装 goaccess
yum install -y goaccess
生成html时候发送错误
[root@idfsgc2jyZ ~]# goaccess -d -f 20170211_02.txt -a -p /root/mygoaccess.conf > /web/02/gouwu/log/index.html
GoAccess - version 0.9.3 - Aug 28 2015 08:55:01
Config file: /root/mygoaccess.conf
Fatal error has occurred
Error occured at: src/parser.c - verify_formats - 1761
No time format was found on your conf file.
编辑 /root/mygoaccess.conf
vi /root/mygoaccess.conf
time-format %T
date_format %d/%b/%Y:%T %z
log_format %h - - [%d] "%r" %s %b "%R" "%u"
保存即可
兼容你的日志格式可以自己写
log_format %h %^[%d:%t %^] "%r" %s %b "%R" "%u"
date_format %d/%b/%Y
time-format %H:%M:%S
相关文章推荐
- goaccess nginx 日志分析
- No JVM could be found on your system错误的解决办法
- nginx日志分析利器GoAccess
- nginx日志分析利器GoAccess
- 使用OpenStack创建VM,遇到No valid host was found 错误的分析 (持续更新中)
- 错误代码:Your build settings specify a provisioning profile with the UUID “”, however, no such provisioning profile was found
- goaccess nginx日志分析工具
- GoAccess nginx日志分析工具
- 虚拟机安装centos no valid devices were found on which to cereate new file systems 错误处理
- nginx日志分析利器GoAccess
- iOS 发布证书错误 Your build settings specify a provisioning profile with the UUID, no provisioning profile was found
- nginx日志分析利器GoAccess
- goaccess-nginx日志分析工具简介
- [已解决]在VMware-server for linux 下装centos错误:an error has occurred. - no valid devices were found on which to create new file system
- nginx日志分析利器GoAccess
- nginx File not found 错误分析与解决方法
- No MyBatis mapper was found in 'XXX' package. Please check your configuration
- logstash 分析nginx 错误日志