2019年5月15日水曜日

goaccessを使ってみた。

# yum install goaccess
# vi /etc/goaccess.conf
time-format %H:%M:%S
date-format %d/%b/%Y
log-format %h %^[%d:%t %^] "%r" %s %b "%R" "%u"

# goaccess /var/log/httpd/access_log*
# goaccess /var/log/httpd/access_log* >/var/www/html/reports.html

0 件のコメント:

コメントを投稿

データベースフィルドの書き換え

【書き換え】 select Fxxxx,replace( Fxxxx,'D:','C:') from Schema.Table where Fxxxx like 'D:\%' update Schema.Table set Fxx...