How to log X-Forwarded-For in Google Cloud HTTP Loadbalancer logging for export to BigQuery

Viewed 1974

I'm exporting all logs from Google Cloud HTTP Loadbalancer to BigQuery but I'm missing custom http headers like X-Forwarded-For with the origin ip from Cloudflare.

I don't see those headers in Stackdriver logging either, so it is probably not a problem of the sink export to BigQuery.

Where do I enable this logging?

Thanks

1 Answers
Related