Go Access installation uses

Source: Internet
Author: User


Go Access installation uses

1. Installation


$ TAR-XZVF goaccess-1.2.tar.gz

$./configure--enable-utf8--enable-geoip=mmdb
$ make # Make install
2. Importing Files


-q-a
"Note: There will be some problems when importing here. Note The format of the log as a large part of the hint is the reason for the space"

Here I provide some commands to filter the blanks:


Cat 1005158_2017_11_06_232.log | Sed ' s///g ' > 1005158_2017_11_06_232111.log
#把 two spaces are replaced with a space and import the new file
3. "Generate image for access here is Nginx"

Http://192.168.24.128/1005158_2017_11_06html.html
4.nginx Log Format

Log_format main ' $remote _addr-$remote _user [$time _local] "$request" '
' $status $body _bytes_sent ' $http _referer '
' "$http _user_agent" "$http _x_forwarded_for" '
' "$upstream _addr" '
' ups_resp_time: $upstream _response_time '
' request_time: $request _time ';




This article is from the "Innocence" blog, be sure to keep this source http://innocence.blog.51cto.com/4313888/1982250

Go Access installation uses

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.