How to interpret log files

Source: Internet
Author: User
Keywords Interpretation Day

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

The Web server automatically records every access information, every server action, every file call, and the server's original log file. Therefore, the information in the log is relatively accurate and comprehensive. Some SEO needs to know the information in the traffic analysis software very little support, you must directly view the log, such as the server returned the status code.

The original file is a plain text file, as long as the text editing software such as WordPad or Notepad can be opened. General host Chambers provide log file downloads in Control Panel.

Let me give you an example of what it includes:

121.11.255.42--[31/AUG/2010:20:44:36+0800] "get/seoblog/http/1.1"

200.52778 "Http://www.baidu.com/s?wd=seo" "mozilla/4.0" (compatible; Msie

6.0; Windows NT5.1; SV1;360SE) "

User IP Address:

121.11.255.42

This is the IP address of the access user, showing the location of the person to whom the visit came from. In the IP address information service check this IP location, such as screenshots can see the visitor from Guangdong

31/aug/2010:20:44:36

This is the exact time the file was accessed. Combined with IP addresses, you can track the order of access to a particular user from one page to another and the activity on the site by viewing multiple logs.

Time:

+0800

relative GMT difference. China and Singapore are located in the East 8 area.

Server actions:

"get/seoblog/http/1.1"

The server is going to do either get or post. In addition to some CGT scripts, usually should be get, that is, from the server to obtain a file, you can make HTML, pictures, CSS and so on.

The record time in the example is to obtain the url/seoblog/file in accordance with the http/1.1 agreement. Here the URL relative address, has omitted the domain name part, therefore/seoblog/refers to is the blog homepage.

The example above is the record when accessing a page. In the log,. Each image, JS script and other files will also have a row of access to records. As:

58.63.31.46--[31/AUG/2010:21:52:23+0800] "Get/seoblog/wp-content/themes/mistylook/style.css HTTP/1.1" 200 9450

"http://www.chinamyhosting.com/seoblog/" "mozilla/4.0" (compatible; MSIE6.0; Windows NT 5.1; SV1; Ciba;,net CLR 2.0.50727;360se) "

This line of log represents the CSS file for the blog template.

Server code:

200

The status code returned by the server. 200 refers to the successful acquisition of documents, all normal. If 404 is returned, the file does not exist/is not found.

File Size:

52778

Refers to the size of the obtained file, example Chinese 52778 bytes.

Route:

"Http//www.baidu.com/s?wd=seo"

It's obvious where the visitor came from, the URL of the page that was accessed before the page. The antecedents may be the other pages of the same site, possibly other sites, or possibly the search engine's results page, as shown above.

Routing is the search engine results page, the URL contains a significant information on the SEO, is the user search keywords. Examples of the antecedents are Baidu search, search keyword is "seo."

Browser type:

"Mozilla/4.0 (compatible; MSIS 6.0; Window NT 5.1; SV1; 360SE) "

The last paragraph shows some information about the browser and the user's computer.

This information in the example indicates that the user is using:

1. Mozilla browser compatible with Netscape. In fact, most browser user agents use mozilla/to start with, so they don't distinguish between browsers.

2. The browser is IE6.0, or IE6.0 is the kernel.

3.Window NT operating system.

4.360 browsers (360 browsers are IE6).

This article is Ningbo long-distance bus station http://ningbo.ichangtu.cn/hand Dozen original, do not copy.

Related Article

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.