Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

How to Filter Specific Fields for GCLB Logs in Log Sink?

created a log sink in Google Cloud Platform (GCP) to export Google Cloud Load Balancer (GCLB) logs to a BigQuery dataset. Currently, all fields related to GCLB logs are being pushed to the destination table.

I only want the following fields to be pushed:

resource.labels.project_id, timestamp and httpRequest.status

Is it possible to filter logs so that only these fields are included in the sink? If yes, could you guide me on how to configure it?

Thanks in advance!

0 2 193
2 REPLIES 2