Back to Applications

What Is AWStats


AWStats is a free powerful and feature-packed tool that generates advanced web, streaming, FTP, or mail server statistics, graphically.


Installing AWStats

For installation instructions, please click here.

Using AWStats

Below you will find a glossary of common terms found in AWStats. If you have additional questions about AWStats and its use, we would recommend you refer to help resources at http://awstats.sourceforge.net/docs/index.html.

 We want to make sure that your experience with us is as good as it possibly can be. With that in mind, we hope you understand that we also have limitations in resources that prevent us from being able to support third-party software (as complex as this) as well as you may need it to be. This is why we ask you to use the above reference for troubleshooting any problems you may have and then, if appropriate, contact us for help in fixing the problem.


Unique Visitor:

    A unique visitor is a host that has made at least 1 hit on 1 page of your website during the current period shown by the report. If this host makes several visits during this period, it is counted only once. The period shown by AWStats reports is by default the current month. However, if you use AWStats as a CGI you can click on the "year" link to have a report for the year. In a such report, the period is a full year, so Unique Visitors are several hosts that have made at least 1 hit on 1 page of your website during that year.

Visits:

    Number of visits made by all visitors. Think "session" here, say a unique IP accesses a page and then requests three others without an hour between any of the requests, all of the "pages" are included in the visit, therefore you should expect multiple pages per visit and multiple visits per unique visitor (assuming that some of the unique IPs are logged with more than an hour between requests)

Pages:

    The number of "pages" logged. Only files that don't match an entry in the NotPageList config parameter (and match an entry of the OnlyFiles config parameter if used) are counted as "Pages". Usually, pages are reserved for HTML files or CGI files, not images nor other files requested as a result of loading a "Page" (like js,css... files).

Hits:

    Any files requested from the server (including files that are "Pages") except those that match the SkipFiles config parameter.

Bandwidth:

      Total number of bytes for pages, images, and files downloaded by web browsing.


    Because of two previous notes, this number is often lower than the bandwidth reported by your provider (your provider counts in most cases bandwidth at a lower level and includes all IP and UDP traffic).

Entry Page:

      The first page is viewed by a visitor during its visit.



NOTE:

    When a visit starts at the end of the month to ends at the beginning of the next month, you might have an Entry page for the monthly report and no Exit pages. That's why Entry pages can be different than Exit pages.

Exit Page:

      The last page viewed by a visitor during its visit.
    When a visit starts at the end of the month to ends at the beginning of the next month, you might have an Entry page for the monthly report and no Exit pages. That's why Entry pages can be different than Exit pages.

Session Duration:

    • The visit was not finished when the 'update' occurred.
    • Visit started the last hour (after 23:00) of the last day of a month (A technical reason prevents AWStats from calculating the duration of such sessions).
  • The time a visitor spends on your site for each visit. Some Visits durations are 'unknown' because they can't always be calculated. This is the major reason for this:

Grabber:

    A browser that is used primarily for copying locally an entire site. These include for example "teleport", "webcapture", "webcopier"...

Direct access / Bookmark:

    • By typing your URL on the web browser address bar
    • By clicking on your URL stored by a visitor inside its favorites
    • By clicking on your URL found everywhere but not other internet web pages (a link in a document, an application, etc...)
    • Clicking a URL of your site inside a mail is often counted here.
  • This number represents the number of hits or the ratio of hits when a visit to your site comes from direct access. This means the first page of your website was called:

Add To Favorites:

    •  
      • x = Number of hits made by IE browsers for "/anydir/favicon.ico", with a referer field not defined, and with no 404 error code
      • y = Number of hits made by IE browsers for "/favicon.ico", with a referer field not defined, with or without 404 error code
      • r = Ratio of hits made by IE browsers compared to hits made by all browsers (r <= 1)
    • This value, available in the "miscellaneous chart", reports an estimated indicator that can be used to have an idea of the number of times a visitor has added your web website to its favorite bookmarks. The technical rules for that is the following formula:

Number of Add to Favourites = round((x+y) / r)

    where As you can see in the formula, only IE is used to count reliable "add", the "Add to favorites" for other browsers are estimated using the ratio of other browsers usage compared to a ratio of IE usage. The reason is that only IE does a hit on favicon.ico nearly ONLY when a user adds the page to its favorites. The other browsers make often hits on this file also for other reasons so we can't count one "hit" as one "add" since it might be a hit for another reason. AWStats differentiate also hits with error and not to avoid counting multiple hits made recursively in the upper path when the favicon.ico file is not found in the deeper directory of the path. Note that this number is just an indicator that is in most cases higher than the true value. The reason is that even IE browsers sometimes make hits on the favicon without an "Add to favorites" action by a user.

HTTP Status Codes:

HTTP status codes are returned by web servers to indicate the status of a request. Codes 200 and 304 are used to tell the browser the page can be viewed. All other codes generate hits and traffic 'not seen' by the visitor. For example, a return code 301 or 302 will tell the browser to ask another page. The browser will do another hit and should finally receive the page with a return code 200 and 304. All codes that are 'unseen' traffic are isolated by AWStats in the HTTP Status report chart, enabled by the directives ShowHTTPErrorsStats. in the config file. You can also change the value for 'not error' hits (set by default to 200 and 304 with the ValidHTTPcodes directive. The following table outlines all status codes defined for the HTTP/1.1 draft specification outlined in IETF RFC 2068. They are 3-digit codes where the first digit of this code identifies the class of the status code and the remaining 2 digits correspond to the specific condition within the response class. They are classified into 5 categories:


1xx class - Informational
Informational status codes are provisional responses from the web server... they give the client a heads-up on what the server is doing. Informational codes do not indicate an error condition.

100100 Continue
The continue status code tells the browser to continue sending a request to the server.
101101 Switching Protocols
The server sends this response when the client asks to switch from HTTP/1.0 to HTTP/1.1

2xx class - Successful
This class of status code indicates that the client's request was received, understood, and successful.

200200 Successful
201201 Created
202202 Accepted
203203 Non-Authorative Information
204204 No Content
205205 Reset Content
206206 Partial Content
The partial content success code is issued when the server fulfills a partial GET request. This happens when the client is downloading a multi-part document or part of a larger file.

3xx class - Redirection
This code tells the client that the browser should be redirected to another URL to complete the request. This is not an error condition.

300300 Multiple Choices
301301 Moved Permanently
302302 Moved Temporarily
303303 See Other
304304 Not Modified
305305 Use Proxy

4xx class - Client Error
This status code indicates that the client has sent bad data or a malformed request to the server. Client errors are generally issued by the web server when a client tries to gain access to a protected area using a bad username and password.

400400 Bad Request
401401 Unauthorized
402402 Payment Required
403403 Forbidden
404404 Not Found
405400 Method Not Allowed
406400 Not Acceptable
407400 Proxy Authentication Required
408400 Request Timeout
409409 Conflict
410410 Gone
411411 Length Required
412412 Precondition Failed
413413 Request Entity Too Long
414414 Request-URI Too Long
415415 Unsupported Media Type

5xx class - Server Error
This status code indicates that the client's request couldn't be successfully processed due to some internal error in the web server. These error codes may indicate something is seriously wrong with the web server.

500500 Internal Server Error
An internal server error has caused the server to abort your request. This is an error condition that may also indicate a misconfiguration with the web server. However, the most common reason for 500 server errors is when you try to execute a script that has syntax errors.
501501 Not Implemented
This code is generated by a web server when the client requests a service that is not implemented on the server. Typically, not implemented codes are returned when a client attempts to POST data to a non-CGI (ie, the form action tag refers to a non-executable file).
502502 Bad Gateway
The server, when acting as a proxy, issues this response when it receives a bad response from an upstream or support server.
503503 Service Unavailable
The web server is too busy processing current requests to listen to a new client. This error represents a serious problem with the web server (normally solved with a reboot).
504504 Gateway Timeout
Gateway timeouts are normally issued by proxy servers when an upstream or support server doesn't respond to a request in a timely fashion.
505505 HTTP Version Not Supported
The server issues this status code when a client tries to talk using an HTTP protocol that the server doesn't support or is configured to ignore.


SMTP Status Codes:

SMTP status codes are returned by mail servers to indicate the status of a sending/receiving mail. The status code depends on the mail server and preprocessor used to analyze the log file. All codes that are failure codes are isolated by AWStats in the SMTP Status report chart, enabled by the directives ShowSMTPErrorsStats

      in AWStats config file. You can decide which codes are successful mail transfers that should not appear in this chart with the

ValidSMTPCodes

      directive. Here are values reported for most mail servers (These should also be values when the mail log file is preprocessing with maillogconvert. pl). SMTP Errors are classified into 3 categories:


2xx/3xx class - Success
They are SMTP protocols that successfully answer
200200 Nonstandard success response
Nonstandard success response
211211 System status or system help reply
System status or system help reply
214214 Help message
Help message
220220 <domain> Service ready
<domain> Service ready
221221 Service closing transmission channel
<domain> Service closing transmission channel
250250 Requested mail action taken and completed
Your ISP mail server has successfully executed a command and the DNS is reporting a positive delivery.
251251 User not local: will forward to <forward-path>
Your message to a specified email address is not local to the mail server, but it will accept and forward the message to a different recipient email address.
252252 Recipient cannot be verified
The recipient cannot be verified but the mail server accepts the message and attempts delivery
354354 Start mail input and end with <CRLF>.<CRLF>
Indicates the mail server is ready to accept the message or instruct your mail client to send the message body after the mail server has received the message headers.
4xx class - Temporary Errors
Those codes are temporary error message. messages They are used to tell the client sender that an error occurred but he can try to solve it but try again, so in most cases, clients that receive such codes will keep the mail in their queue and will try again later.
421421 Service not available, closing transmission channel
This may be a reply to any command if the service knows it must shut down.
450450 Requested mail action not taken: mailbox busy or access denied
Your ISP mail server indicates that an email address does not exist or the mailbox is busy. It could be the network connection went down while sending, or it could also happen if the remote mail server does not want to accept mail from you for some reason i.e. (IP address, From address, Recipient, etc.)
451451 Requested mail action aborted: error in processing
Your ISP mail server indicates that the mailing has been interrupted, usually due to overloading from too many messages or transient failure is one in which the message sent is valid, but some temporary event prevents the successful sending of the message. Sending in the future may be successful.
452452 Requested mail action not taken: insufficient system storage
Your ISP mail server indicates, probable overloading from too many messages and sending in the future may be successful.
453453 Too many messages
Some mail servers have the option to reduce the number of concurrent connections and also the number of messages sent per connection. If you have a lot of messages queued up it could go over the maximum number of messages per connection. To see if this is the case you can try submitting only a few messages to that domain at a time and then keep increasing the number until you find the maximum number accepted by the server.
5xx class - Permanent Errors
These are permanent error codes. Mail transfer is a failure. No other try will be done.
500500 Syntax error, command unrecognized or command line too long
501501 Syntax error in parameters or arguments
502502 Command, not implemented
503503 Server encountered a bad sequence of commands
504504 Command parameter not implemented
521521 does not accept mail or closing transmission channel
You must be pop-authenticated before you can use this SMTP server and you must use your mail address for the Sender/From field.
530530 Access denied
A sendmailism ? 
550550 Requested mail action not taken (Relaying not allowed, Unknown recipient user, ...)
Sending an email to recipients outside of your domain is not allowed or your mail server does not know that you have access to use it for relaying messages and authentication is required. Or to prevent the sending of SPAM some mail servers will not allow (relay) mail to any e-mail using another company's network and computer resources.
551551 User not local: please try or Invalid Address: Relay request denied
552552 Requested mail action aborted: exceeded storage allocation
ISP mail server indicates, probable overloading from too many messages.
553553 Requested mail action not taken: mailbox name not allowed
Some mail servers have the option to reduce the number of concurrent connections and also the number of messages sent per connection. If you have a lot of messages queued up (being sent) for a domain, it could go over the maximum number of messages per connection, and/or some change to the message and/or destination must be made for successful delivery.
554554 Requested mail action rejected: access denied
557557 Too many duplicate messages
Resource temporarily unavailable Indicates (probable) that there is some kind of anti-spam system on the mail server.


Related Articles

How To Activate SSL In OSCommerce
How To Reset My OSCommerce Password
What Is OSCommerce
How To Reset My Drupal Password
What Is Drupal

Can’t Find what you need?

No worries, Our experts are here to help.