HTTP(S) Load Balancing Logging allows the user to enable, disable, and view logs for an HTTP(S) Load Balancing backend service. To be able to send HTTP(S) Load Balancing Logging logs to Wazuh, Cloud Logging must be configured to export these logs to Pub/Sub first.
HTTP(S) Load Balancing Logging can be enabled on the Load Balancing page in the Google Cloud Console. Follow the Google Cloud Load Balancing documentation for the most up-to-date instructions on how to enable this feature.
The Pub/Sub page explains how to set up a sink to logs for a Pub/Sub topic. However, this would export every single log available, and not only the HTTP(S) Load Balancing Logging logs. It is possible to configure the sink to export HTTP(S) Load Balancing Logging logs only to a topic, ignoring logs coming from other services, by adding a filtering condition to the sink. To do so, follow the same instructions as explained in the Pub/Sub section but add the following filter in Step 3 - Choose logs to include in sink: