After visiting http: 211.100.97.250zabbix today, you can check the access log to see the log format defined in the apache configuration file: customlogsaccess_logcombinedlogformat % h % l % u % t \ % r \ % s % B \ % {Referer} I \ % {User-Agent} I \ combined I access http with today: // After 211.100.97.250/zabbix/, check the access log to see the actual
Take a look at the log format defined in the apache configuration file:
CustomLog "logs/access_log" combin
Ed LogFo
RmAt "% h % l % u % t \" % r \ "%> s % B \" % {Referer} I \ "\" % {User-Agent} I \ "" combined
I randomly extracted an access log line:
114.249.30.56--[12/Sep/2011: 21: 00: 42 + 0800] "GET/zabbix/images/gradients/button.gif HTTP/1.1" 200 1706 "http: // 211.100.97.250/zabbix/"" Mozilla/5.0 (Windows; U; Windows NT 6.1
;) AppleWebKit/534.12 (KHTML, like Gecko) Maxthon/3.0 Safari/534.12"
Log Analysis:
IP address of the 114.249.30.56% h Client
12/Sep/2011: 21: 00: 42 + 0800% t access Date and Time Difference
GET/zabbix/images/gradients/button.gif HTTP/1.1% r "Method Resource Proto
Col-"Method resource protocol"
Method: get post head; Resource is the document or URL requested by the viewer to the server; Protocol is usually HTTP, followed by the version number, usually HTTP/1.1
200%> s: the first line of the Response Request. 200 indicates that the server has successfully responded to the browser request and everything is normal.
The status code starting with 3 indicates that the user request is redirected to another location on the client.
The status code starting with 4 indicates that the client has an error.
The status code starting with 5 indicates that the server encountered an error.
1706% bytes transmitted by B (excluding HTTP header information)
Http: // 211.100.97.250/zabbix/% U request URL path (excluding query strings)
Mozilla/5.0 (Windows; U; Windows NT 6.1;) AppleWebKit/534.12 (KHTML, like Gecko) Maxthon/3.0 Safari/534.12
\ "% {User-Agent} I \" browser identification information provided by the client browser
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.