2

We have logging enabled on our HTTP(S) Load Balancing for backend services, as described here. It contains useful and structured data about http requests made:

{
  "requestMethod": string,
  "requestUrl": string,
  "requestSize": string,
  "status": integer,
  "responseSize": string,
  "userAgent": string,
  "remoteIp": string,
  "serverIp": string,
  "referer": string,
  "latency": string,
  "cacheLookup": boolean,
  "cacheHit": boolean,
  "cacheValidatedWithOriginServer": boolean,
  "cacheFillBytes": string,
  "protocol": string
} 

Is this possible to add some fields to that format? In particular, we're interested in logging some (but not all) HTTP headers passed in the request.

raina77ow
  • 103,633
  • 15
  • 192
  • 229

0 Answers0