Access Gateway access log

Access Gateway access logs include information on HTTP access request events such as GET and POST.

Before you begin

Event Fields

Access Log

Field Description

TIMESTAMP

The current system date and time.

HOSTNAME

The hostname of the Access Gateway node that's generating the event.

Tag

The application's unique shortName value, or auth tag for the local Access Gateway Admin UI console.

Application Hostname

The hostname, or public domain, of the application.

Client IP

The client's IP address.

Request

The HTTP request (GET, POST).

URL

The relative URL.

HTTP Status Code

The HTTP status code.

Request size

The size of the request body in bytes.

HTTP Referrer

Always - (dash).

User Agent

Browser information.

X-Forwarded-For

X-Forwarded-For header received.

Request Time

The time in seconds to receive a request.

Response Time

The time in seconds to send a response.

An event is issued on every resource request. Here's an example of an access event:

2020-06-24T09:40:43.000-05:00 example.myaccessgateway.com auth header.myexample.com 10.0.0.110 - - "GET / HTTP/2.0" 302 163 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" "-" 0.073 - 2020-06-24T09:41:08.000-05:00 example.myaccessgateway.com auth header.myexample.com 10.0.0.110 - - "GET /assets/images/image.png HTTP/2.0" 200 1229 "https://gw-admin.example.com/" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36" "-" 0.029 0.028

HTTP status codes and descriptions

Access Gateway returns the following status codes to the browser. They're also captured in the access log for troubleshooting issues.

HTTP Status Codes

Status Code Description

200

Success

302

Redirect

400

Access Gateway isn't serving the application that's being called by IP address or hostname.

401

The session doesn't exist.

403

A policy rule denied access to resource.

404

Unknown page, content, or resource.

405

Session integrity failure.

413

The request entity is too large.

500

Server-side error.

502

A back-end application isn't available.

503

The application is in maintenance, inactive, or in offline mode.

504

A request to a back-end application timed out.