Sun ONE Web Server 6.1 Administrator's Guide |
The Logs Tab (Virtual Server Manager)
The Logs tab contains just one page, which allows you to generate reports for the selected virtual server.
You should first create a new access log to be used by the virtual server, and add the new access log to the virtual server settings. You will get an error message if you have not created a virtual server and turned the LogVsId value to On using the Magnus Editor in the Server Manager, or by manually editing the magnus.conf file. If you are using multiple virtual servers, you should add %vsid% to the custom format line of Logging Preferences in the Server Manager, or by manually editing the magnus.conf file. For more information about these actions, see Setting Access Log Preferences.
The default settings are already selected.
The following elements are displayed:
Server name. Specify the name of the server for which to generate the report.
Output type. Specify whether the report should be output to an HTML file or a plain text (ASCII) file.
Log File. Specify the log file or files from which to generate the report.
Output file. Specify the absolute path for the report output. If you leave this field blank, the log analyzer displays the results on the screen. For large log files, you should save the results to a file because displaying the output on the screen may take a long time.
Totals. Specify whether you want to generate totals for statistics. Choose “Do not generate totals” if you do not want to generate totals for statistics. If you choose to generate totals, select from the following options:
- Total hits. Number of requests the server received since access logging was enabled.
- 304 (Not Modified) status codes. Number of times the requesting client used a local copy of the requested document, rather than retrieving it from the server.
- 302 (Redirects) status codes. Number of times the server redirected to a new URL because the original URL moved.
- 404 (Not Found) status codes. Number of times the server could not find the requested document or the server did not serve the document because the client was not an authorized user.
- 500 (Server Error) status codes. Number of times a server-related error occurred.
- Total unique URLs. Number of unique URLs accessed since access logging was enabled.
- Total unique hosts. Number of unique client hosts who have accessed the server since access logging was enabled.
- Total kilobytes transferred. Number of kilobytes the server transferred since access logging was enabled.
General Statistics. Specify whether to generate general statistics. Choose “Do not generate general statistics” if you do not want to generate general statistics. If you choose to generate statistics, select from the following options:
- Find top number seconds of log. Generates statistics based on information from the most recent number of seconds.
- Find top number minutes of log. Generates statistics based on information from the most recent number of minutes.
- Find top number hours of log. Generates statistics based on information from the most recent number of hours.
- Find top number users (if logged). Generates statistics based on information from the number of users.
- Find top number referers (if logged). Generates statistics based on information from the number of referers.
- Find top number user agents (if logged). Generates statistics based on information on the user agents, for example, the browser type, its version, and the operating system.
- Find top number miscellaneous logged items (if logged). Generates statistics based on information from the number of users.
Generate Lists. Specifies whether to generate lists. Choose “Do not generate any list” if you do not want to generate lists. If you choose to generate lists, select from the following options:
- number most commonly accessed URL. Displays the most commonly accessed URLs, or URLs that were accessed more than a specified number of times.
- URLs that were accessed more than number times. Displays the URLs that were accessed more times than the number specified.
- number hosts most often accessing your server. Displays the hosts most often accessing your server, or hosts that have accessed your server more than a specified number of times.
- Hosts that accessed your server more than number times. Displays the hosts that accessed your server more times than the number specified.
Output order. Specifies the order of the output. Prioritize the items from 1 to 3 in the order that you would like each section to appear in the report. If you chose not to generate a particular section, that section will automatically be left out.
OK. Saves your entries.
Reset. Erases your changes and resets the elements in the page to the values they contained before your changes.
Help. Displays online help.