You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/application-gateway/application-gateway-diagnostics.md
+52-1Lines changed: 52 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -150,8 +150,47 @@ Azure generates the activity log by default. The logs are preserved for 90 days
150
150
151
151
### Access log
152
152
153
-
The access log is generated only if you've enabled it on each Application Gateway instance, as detailed in the preceding steps. The data is stored in the storage account that you specified when you enabled the logging. Each access of Application Gateway is logged in JSON format, as shown in the following example:
153
+
The access log is generated only if you've enabled it on each Application Gateway instance, as detailed in the preceding steps. The data is stored in the storage account that you specified when you enabled the logging. Each access of Application Gateway is logged in JSON format, as shown in the following example for v1:
154
154
155
+
|Value |Description |
156
+
|---------|---------|
157
+
|instanceId | Application Gateway instance that served the request. |
158
+
|clientIP | Originating IP for the request. |
159
+
|clientPort | Originating port for the request. |
160
+
|httpMethod | HTTP method used by the request. |
161
+
|requestUri | URI of the received request. |
162
+
|RequestQuery | **Server-Routed**: Back-end pool instance that was sent the request.</br>**X-AzureApplicationGateway-LOG-ID**: Correlation ID used for the request. It can be used to troubleshoot traffic issues on the back-end servers. </br>**SERVER-STATUS**: HTTP response code that Application Gateway received from the back end. |
163
+
|UserAgent | User agent from the HTTP request header. |
164
+
|httpStatus | HTTP status code returned to the client from Application Gateway. |
165
+
|httpVersion | HTTP version of the request. |
166
+
|receivedBytes | Size of packet received, in bytes. |
167
+
|sentBytes| Size of packet sent, in bytes.|
168
+
|timeTaken| Length of time (in milliseconds) that it takes for a request to be processed and its response to be sent. This is calculated as the interval from the time when Application Gateway receives the first byte of an HTTP request to the time when the response send operation finishes. It's important to note that the Time-Taken field usually includes the time that the request and response packets are traveling over the network. |
169
+
|sslEnabled| Whether communication to the back-end pools used SSL. Valid values are on and off.|
For Application Gateway and WAF v2, the logs show a little more information:
155
194
156
195
|Value |Description |
157
196
|---------|---------|
@@ -168,6 +207,12 @@ The access log is generated only if you've enabled it on each Application Gatewa
168
207
|sentBytes| Size of packet sent, in bytes.|
169
208
|timeTaken| Length of time (in milliseconds) that it takes for a request to be processed and its response to be sent. This is calculated as the interval from the time when Application Gateway receives the first byte of an HTTP request to the time when the response send operation finishes. It's important to note that the Time-Taken field usually includes the time that the request and response packets are traveling over the network. |
170
209
|sslEnabled| Whether communication to the back-end pools used SSL. Valid values are on and off.|
210
+
|sslCipher| Cipher suite being used for SSL communication (if SSL is enabled).|
211
+
|sslProtocol| SSL protocol being used (if SSL is enabled).|
212
+
|serverRouted| The backend server that application gateway routes the request to.|
213
+
|serverStatus| HTTP status code of the backend server.|
214
+
|serverResponseLatency| Latency of the response from the backend server.|
215
+
|host| Address listed in the host header of the request.|
0 commit comments