access log
LOCATION :
$IAS_ORACLE_HOME/Apache/Apache/logs
SIGNIFICANCE :
An access log is a list of all the requests for individual files that people have requested from a Web site. These files will include the HTML files and their imbedded graphic images and any other associated files that get transmitted.
IMPORTANT POINTS :
>> We can modify setting in httpd.conf to rename the access log as below
---------------------------------------------------------------------------------------------------------------------
1- Stop the HTTP Server
2- Make a backup of $ORACLE_HOME/Apache/Apache/conf/httpd.conf:
3- Open the file httpd.conf and search for something like the following line: ... CustomLog "|D:\oracle\FRM_REP_904\Apache\Apache\bin\rotatelogs.exe logs/access_log 43200" common ... where ORACLE_HOME=D:\oracle\FRM_REP_904 4 - Modify the httpd.conf file like this example; this will create a new access_log every 24 hours - 86400 seconds: ... # #CustomLog "|D:\oracle\FRM_REP_904\Apache\Apache\bin\rotatelogs.exe logs/access_log 43200" common # CustomLog "|D:\oracle\FRM_REP_904\Apache\Apache\bin\rotatelogs.exe logs/access_log.%d%m%Y 86400" common # ... 5 - Save the httpd.conf file
----------------------------------------------------------------------------------------------------------------------
FILE :
#########################################################################################################
132.226.187.252 - - [06/Jul/2010:20:00:17 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.252
This is the IP address of the client (remote host) which made the request to the server.The IP address reported here is not necessarily the address of the machine at which the user is sitting. If a proxy server exists between the user and the server, this address will be the address of the proxy, rather than the originating machine.
first -
The "hyphen" in the output indicates that the requested piece of information is not available. In this case, the information that is not available is the RFC 1413 identity of the client determined by identd on the clients machine.
second -
This is the userid of the person requesting the document as determined by HTTP authentication. If the document is not password protected, this part will be "-" just like the previous one.
[06/Jul/2010:20:00:17 -0400]
The time that the request was received. The format is:
[day/month/year:hour:minute:second zone]
"GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0"
The request line from the client is given in double quotes. The request line contains a great deal of useful information. First, the method used by the client is GET. Second, the client requested the resource ICXINDEX.htm and third, the client used the protocol HTTP/1.0.
200
This is the status code that the server sends back to the client. This information is very valuable, because it reveals whether the request resulted in a successful response (codes beginning in 2), a redirection (codes beginning in 3), an error caused by the client (codes beginning in 4), or an error in the server (codes beginning in 5).
see the status code details below :
-------------------------------------------------------------------------
Informational 1xx
100 Continue
101 Switching Protocols
Successful 2xx
200 OK
201 Created
202 Accepted
203 Non-Authoritative Information
204 No Content
205 Reset Content
206 Partial Content
Redirection 3xx
300 Multiple Choices
301 Moved Permanently
302 Found
303 See Other
304 Not Modified
305 Use Proxy
306 (Unused)
307 Temporary Redirect
Client Error 4xx
400 Bad Request
401 Unauthorized
402 Payment Required
403 Forbidden
404 Not Found
405 Method Not Allowed
407 Proxy Authentication Required
408 Request Timeout
409 Conflict
410 Gone
411 Length Required
412 Precondition Failed
413 Request Entity Too Large
414 Request-URI Too Long
415 Unsupported Media Type
416 Requested Range Not Satisfiable
417 Expectation Failed
Server Error 5xx
500 Internal Server Error
501 Not Implemented
502 Bad Gateway
503 Service Unavailable
504 Gateway Timeout
505 HTTP Version Not Supported
-------------------------------------------------------------------------------
418
The last part indicates the size of the object returned to the client, not including the response headers. If no content was returned to the client, this value will be "-".
132.226.187.253 - - [06/Jul/2010:20:00:29 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.252 - - [06/Jul/2010:20:00:51 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.253 - - [06/Jul/2010:20:01:02 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.252 - - [06/Jul/2010:20:01:25 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.253 - - [06/Jul/2010:20:01:36 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.252 - - [06/Jul/2010:20:01:59 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.253 - - [06/Jul/2010:20:02:10 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.252 - - [06/Jul/2010:20:02:33 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.253 - - [06/Jul/2010:20:02:44 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.252 - - [06/Jul/2010:20:03:07 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.253 - - [06/Jul/2010:20:03:19 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.252 - - [06/Jul/2010:20:03:41 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.253 - - [06/Jul/2010:20:03:53 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.252 - - [06/Jul/2010:20:04:15 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.253 - - [06/Jul/2010:20:04:26 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
132.226.187.252 - - [06/Jul/2010:20:04:49 -0400] "GET /OA_HTML/US/ICXINDEX.htm HTTP/1.0" 200 418 0
147.154.160.171 - - [06/Jul/2010:23:24:12 -0400] "GET /OA_HTML/AppsLocalLogin.jsp HTTP/1.1" 200 6659 0
147.154.160.171 - - [06/Jul/2010:23:24:12 -0400] "GET /OA_HTML/cabo/styles/cache/oracle-desktop-2_2_24_3-en-ie-6-windows.css HTTP/1.1" 200 21976 0
147.154.160.171 - - [06/Jul/2010:23:24:13 -0400] "GET /OA_HTML/cabo/jsLibs/Common2_2_24_3.js HTTP/1.1" 200 92167 0
147.154.160.171 - - [06/Jul/2010:23:24:14 -0400] "GET /OA_HTML/cabo/images/t.htm HTTP/1.1" 200 28 0
147.154.160.171 - - [06/Jul/2010:23:24:14 -0400] "GET /OA_HTML/cabo/images/t.gif HTTP/1.1" 200 85 0
147.154.160.171 - - [06/Jul/2010:23:24:14 -0400] "GET /OA_MEDIA/FNDSSCORP.gif HTTP/1.1" 200 1435 0
147.154.160.171 - - [06/Jul/2010:23:24:14 -0400] "GET /OA_MEDIA/fndpbs.gif HTTP/1.1" 200 211 0
147.154.160.171 - - [06/Jul/2010:23:24:15 -0400] "GET /OA_HTML/cabo/images/cache/cghes-2.gif HTTP/1.1" 200 109 0
|
No comments:
Post a Comment