HTTP_LOG_FIELD_ Constants
The HTTP_LOG_FIELD_ constants define the fields in the W3C log and the error logs.
These constants are used in the HTTP_LOGGING_INFO structure.
-
HTTP_LOG_FIELD_DATE
-
-
The date on which the activity occurred.
-
-
HTTP_LOG_FIELD_TIME
-
-
The time, in coordinated universal time (UTC), at which the activity occurred.
-
-
HTTP_LOG_FIELD_CLIENT_IP
-
-
The IP address of the client that made the request.
-
-
HTTP_LOG_FIELD_USER_NAME
-
-
The name of the authenticated user who accessed your server. Anonymous users are indicated by a hyphen.
-
-
HTTP_LOG_FIELD_SITE_NAME
-
-
The name of the site on which the log file entry was generated.
-
-
HTTP_LOG_FIELD_COMPUTER_NAME
-
-
The name of the computer on which the log file entry was generated.
-
-
HTTP_LOG_FIELD_SERVER_IP
-
-
The IP address of the server on which the log file entry was generated.
-
-
HTTP_LOG_FIELD_METHOD
-
-
The requested action, for example, a get method.
-
-
HTTP_LOG_FIELD_URI_STEM
-
-
The target of the action, for example, Default.htm.
-
-
HTTP_LOG_FIELD_URI_QUERY
-
-
The query, if any, that the client was trying to perform. A Universal Resource Identifier (URI) query is necessary only for dynamic pages.
-
-
HTTP_LOG_FIELD_STATUS
-
-
The HTTP status code.
-
-
HTTP_LOG_FIELD_WIN32_STATUS
-
-
The Windows status code.
-
-
HTTP_LOG_FIELD_BYTES_SENT
-
-
The number, in bytes, sent by the server.
-
-
HTTP_LOG_FIELD_BYTES_RECV
-
-
The number, in bytes, received by the server.
-
-
HTTP_LOG_FIELD_TIME_TAKEN
-
-
The time, in milliseconds, of the action.
-
-
HTTP_LOG_FIELD_SERVER_PORT
-
-
The server port number that is configured for the service.
-
-
HTTP_LOG_FIELD_USER_AGENT
-
-
The application that the client used.
-
-
HTTP_LOG_FIELD_COOKIE
-
-
The content of the cookie sent or received, if any.
-
-
HTTP_LOG_FIELD_REFERER
-
-
The site that the user last visited. This site provided a link to the current site.
-
-
HTTP_LOG_FIELD_VERSION
-
-
The HTTP protocol version that the client used.
-
-
HTTP_LOG_FIELD_HOST
-
-
The host header name, if any.
-
-
HTTP_LOG_FIELD_SUB_STATUS
-
-
The substatus error code.
-
The following constants are used for HTTP error logging.
-
HTTP_LOG_FIELD_CLIENT_PORT
-
-
The client port number from which the request is received. This log field is only used for error logging.
-
-
HTTP_LOG_FIELD_URI
-
-
The URI received in the request including the query portion. This log field is only used for error logging.
-
-
HTTP_LOG_FIELD_SITE_ID
-
-
The application-specific numeric ID of the URL Group on which the request is routed. This log field is only used for error logging.
-
-
HTTP_LOG_FIELD_REASON
-
-
The error reason phrase. This log field is only used for error logging.
-
-
HTTP_LOG_FIELD_QUEUE_NAME
-
-
The name of the request queue to which the request is dispatched. This log field is only used for error logging.
-
-
HTTP_LOG_FIELD_STREAMID
-
-
The stream id.
-
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|