About Web Access logs I believe that a lot of people look at the face of a crazy, here I will give you small partners to share.
The general access log is access.log but the exact difference is to look at your Web configuration file.
This is the last line of my log that I intercepted.
Log:
10.0.0.1--[22/nov/2015:11:02:00 +0800] "get/mobile/sea-modules/gallery/zepto/1.1.3/zepto.js http/1.1" 200 24662 " http://shuai12138.blog.51cto.com/"" mozilla/5.0 (Linux; U Android 5.1.1; ZH-CN; HUAWEI crr-ul00 build/huaweicrr-ul00) applewebkit/533.1 (khtml, like Gecko) version/4.0 mqqbrowser/5.4 TBS/025478 Mobile safari/533.1 micromessenger/6.3.7.51_rbb7fa12.660 nettype/3gnet LANGUAGE/ZH_CN "
Analysis
First step: First we split this log.
[Email protected] log]# Head-1 Access.log | TR "\" "\ n"
10.0.0.1--[22/nov/2015:11:02:00 +0800]
Get/mobile/sea-modules/gallery/zepto/1.1.3/zepto.js http/1.1
200 24662
http://shuai12138.blog.51cto.com/
mozilla/5.0 (Linux; U Android 5.1.1; ZH-CN; HUAWEI crr-ul00 build/huaweicrr-ul00) applewebkit/533.1 (khtml, like Gecko) version/4.0 mqqbrowser/5.4 TBS/025478 Mobile safari/533.1 micromessenger/6.3.7.51_rbb7fa12.660 nettype/3gnet LANGUAGE/ZH_CN
Second Step analysis:
10.0.0.1
this is IP Access users
--[22/nov/2015:11:02:00 +0800]
This is the time that a guest accesses the resource ( Date),-0600 is the time zone, which is the difference from GMT -6 hours
Get/mobile/sea-modules/gallery/zepto/1.1.3/zepto.js http/1.1
get the network in the Get mode according to the http/1.1 protocol Mobile/sea-modules/gallery/zepto/1.1.3/zepto.js
200 24662
This is the return status code for a system. it means normal.
http://shuai12138.blog.51cto.com/
This page represents the user's visit.
mozilla/5.0 (Linux; U Android 5.1.1; ZH-CN; HUAWEI crr-ul00 build/huaweicrr-ul00) applewebkit/533.1 (khtml, like Gecko) version/4.0 mqqbrowser/5.4 TBS/025478 Mobile safari/533.1 micromessenger/6.3.7.51_rbb7fa12.660 nettype/3gnet LANGUAGE/ZH_CN
This is about the user's browser type, such as this can see the user is android phones, Huawei crr-ul00 models, etc.
Now see if it feels so easy. Ha ha.
This is the time to share, thank you.
This article is from my study blog, so be sure to keep this source http://shuai12138.blog.51cto.com/10118203/1902496
Web Access Log Analysis