Wazuh Google Cloud monitoring: what the integration collects and how
A security or platform team that runs Google Cloud projects alongside a self-hosted Wazuh deployment needs two kinds of data in one place: the control-plane activity of the cloud project and the host-level telemetry of the instances inside it. Wazuh pulls Google Cloud logs through its Google Cloud collection modules, reading from Pub/Sub subscriptions or Cloud Storage buckets with a service account, while Wazuh agents installed on instances cover host-level telemetry such as system logs, file integrity and the software inventory. The two paths answer different questions, so the design should decide early which log sources must be read from the cloud side and which must come from the host.
The exact module names, configuration keys and supported log types depend on the Wazuh release you run, so confirm them against the Wazuh documentation for your version before writing any configuration. Check which Google Cloud log sources the current module reads, how it authenticates, what the service account needs in IAM, and whether the export path (a log sink into Pub/Sub or a bucket) must be created by you and how it is named. Also confirm how the module handles message acknowledgment and retries, since those settings determine whether events can be lost or duplicated during an outage.
The self-hosted Wazuh software carries no license fee, so the cost of this integration is the work and infrastructure around it: the Google Cloud resources that export and store logs, the service account and IAM design, the Wazuh server capacity to ingest the volume, and the people who build and tune the rules. Ask any partner for a written scope that lists each Google Cloud log source, the project and organization boundaries covered, the Wazuh version targeted and the verification steps used to prove events arrive and alert correctly.
What a Google Cloud monitoring project needs before configuration starts
Six items need decisions or owners before anyone touches the Wazuh configuration. Each one shapes the next: the Wazuh version determines which modules and documentation apply, the Google Cloud projects and sinks determine what data exists, and the service account and network paths determine whether the server can read it at all.
Supported Wazuh 4.14 deployment
Confirm the Wazuh server, indexer and dashboard are running a supported 4.14 patch level before adding cloud collection. The latest patch line in the release notes is 4.14.9, released on 14 October 2026, so confirm which patch your team is on and whether it matches the module guidance you are following. Patch releases have come roughly every one to two months, so plan for the version to change during the project.
Wazuh release notesProjects, logging and log sinks
List every Google Cloud project in scope and confirm that the audit and service logs you need are enabled in each one. Decide which log sinks will export data to Pub/Sub topics or Cloud Storage buckets, since that choice determines which Wazuh collection path you use. Record the project IDs, sink names and destination resources in the inventory so the sink design can be reviewed later.
Service account with least-read permissions
Create a dedicated service account for the Wazuh server and grant only the read permissions the chosen method needs, such as subscription consumption for Pub/Sub or object reads for a bucket. Confirm the required roles and any API enablement in the current Wazuh documentation rather than assuming them. Decide who holds the key or credential material and how it will be rotated.
Network paths to Google APIs
Verify that the Wazuh server can reach the Google endpoints its collection method calls, including any egress through proxies or firewall rules in your data center or cloud network. Test the path from the actual server, not from a workstation, because server-side egress rules are often stricter. If the environment has no outbound internet access, confirm how the offline approach documented by Wazuh applies to cloud collection before you commit to a design.
Indexer storage and retention plan
Estimate how much log volume each sink will produce and size indexer storage for it, then set a retention period that matches your policy. Cloud audit and flow logs can grow quickly, so ask the team that owns each project for expected event rates before enabling every source. Document who approves retention changes and where archives are kept.
Named owner for the cloud logging inventory
Assign one person to maintain the list of projects, sinks, service accounts, buckets and agents that feed Wazuh. Without an owner, new projects get created without log exports and sinks drift from the documented design. The owner should also approve changes to service account permissions and coordinate with the teams that run each Google Cloud project.
How module collection and agents on instances divide the work
Google Cloud control-plane and managed service logs reach Wazuh through the cloud collection module, which reads from the Google Cloud source you configure. Operating system activity, file integrity monitoring and software inventory on Compute Engine instances come from Wazuh agents installed on those instances. The two paths answer different questions. The module tells you what happened to resources in your project, such as who changed a configuration or which service recorded an event. The agent tells you what happened inside a running virtual machine, such as which process started, which file changed and which packages are installed. Neither path replaces the other, so most teams need both before they can investigate an incident that begins in the cloud and ends on a host.
Each path also has blind spots. The module cannot see processes, local logins, file contents or packages on an instance, because those events never leave the operating system as cloud audit records. The agent cannot see activity in the Google Cloud control plane, such as an IAM binding added from the console by another identity, and it has no view of the project unless the module supplies that context. Before you enable both, check which event types the module documentation says it collects for your chosen source, and confirm that statement against your own project rather than assuming coverage. Gaps you find at this stage are cheaper to close than gaps discovered during an investigation.
Overlap is where ownership decisions matter. Some activity can appear through both paths, for example a service account action that is logged by Google Cloud and also observed on the instance where the credential is used. Without a rule, the same event produces two alerts, one from each source, and analysts lose time deciding which copy to trust. Decide in writing which path is the system of record for each category, then tune rule groups and alert filters so each event is handled once. Record that decision in your Wazuh rule and decoder documentation so future changes to either path are reviewed against it.
How Google Cloud logs reach the Wazuh server
The diagram starts in Google Cloud, where each project's log sink routes entries either to a Pub/Sub topic and subscription or to a Cloud Storage bucket. The Wazuh server reads those logs using a service account credential it holds, and this credential crossing is the main trust boundary to review. The server decodes and analyzes the events, the Wazuh indexer stores the resulting alerts, and analysts use the dashboard. Compute Engine instances with Wazuh agents report directly to the server over the network you control, so check which path each log source uses before you build the integration.
Log paths from Google Cloud into the Wazuh server, with the credential and trust boundary marked.
Configuration sequence for Google Cloud collection in Wazuh
This sequence takes a Google Cloud project from exported logs to a working Wazuh collection path, with a check after each step so that a fault is found where it was introduced. The result is a tested ingestion path for the Google Cloud log sources you chose, plus agent coverage on the instances that need host telemetry.
Confirm the Wazuh server version and log sinks
The platform or security engineer confirms which Wazuh server version runs in your environment and lists the Google Cloud log sources to export, such as audit logs and network or load balancer logs. Check the version against the Wazuh release notes and the Google Cloud module documentation, since the exact module behavior and supported log types depend on the release. Done when you have a written list of log sources, the project IDs they come from, and the Wazuh version that will receive them, and a test entry from one source is visible in the Google Cloud console.
Create the Pub/Sub topic or storage bucket
The cloud engineer creates either a Pub/Sub topic with a subscription, fed by a log sink, or a Cloud Storage bucket that receives exported logs, depending on the collection method the Wazuh documentation describes for your sources. For a bucket, set the retention and lifecycle settings your policy requires and confirm the object layout the module expects. Done when a test log entry written through the sink lands in the topic or bucket and you can see it with the Google Cloud console or gcloud command line tool.
Create a dedicated service account
The cloud or identity administrator creates a service account used only by Wazuh, grants it the read permissions the chosen method requires (for example, subscriber access on the subscription or read access on the bucket), and nothing broader. Generate the key or use a supported keyless credential method, store it with restricted file permissions on the Wazuh server, and record who owns the key and when it must be rotated. Done when the service account can read the test message or object and a permission test for an action outside its role is denied.
Enable and configure the collection module
The Wazuh administrator enables the Google Cloud collection module in the Wazuh server configuration and sets the project, subscription or bucket names and the credential file path. Confirm the exact configuration key names and their required format in the Wazuh documentation for your version before editing, and restart the Wazuh manager using the documented procedure. Done when the server log shows the module starting without authentication or permission errors and the test event appears as an alert or archived event in the Wazuh dashboard.
Validate decoding and alert delivery
The security engineer checks that the test events are decoded into the expected fields and that the rules fire on them, using the Wazuh log testing tool for any events that do not decode correctly. Send a few representative events from each source, not only one, because different log types can follow different decoding paths. Done when each source produces an indexed event with the expected fields in the dashboard and you have a short list of any events that still fail to decode.
Deploy agents to instances needing host telemetry
The platform team installs Wazuh agents on the Compute Engine instances that need host-level data, such as file integrity, system inventory or local log files, and enrolls them to the correct agent group. Module collection covers the Google Cloud control plane and service logs, but agents cover what happens inside each instance, so decide per instance which telemetry is needed. Done when each targeted instance appears as an active agent in the Wazuh dashboard with its group assigned and at least one host event visible.
Run the closing end-to-end check
The security team triggers one known, harmless action in the Google Cloud project and one host event on a monitored instance, then confirms both appear in the Wazuh dashboard within the expected window and that the expected rule fires. Record the results, the configuration versions used and the owner of the service account credential in your runbook. Done when both test actions are traced end to end and the runbook lists the steps for credential rotation and module troubleshooting.
Choosing between Pub/Sub, Cloud Storage and instance agents
Pub/Sub suits the case where log events need to reach Wazuh as they happen, rather than in periodic batches. Logs are exported from Google Cloud into a Pub/Sub topic through a log sink, and Wazuh reads from a subscription on that topic. The work is mostly in the design of the sink and the filters it applies, and in the service account that Wazuh uses to read the subscription.
- Prerequisites: a Pub/Sub topic, a subscription the Wazuh server can read, a log sink with a clear inclusion filter, and a service account with the minimum read roles on that subscription.
- Effort drivers: how many log types go into the sink, how the sink filter is written, whether one topic serves several projects, and how the service account key is stored and rotated.
- Volume: the number of events a sink produces depends on the services you enable, so confirm expected event volume with your own environment before sizing the Wazuh server.
- What it does not cover: Pub/Sub carries exported cloud logs only. It does not expose host-level data such as installed packages, running processes or local file changes.
- Combining it: many teams pair Pub/Sub with agents on instances, so cloud control-plane activity and host activity both reach Wazuh.
Before building, check the sink filter, the subscription permissions and the credential handling against the module documentation for your Wazuh version.
Cloud Storage buckets suit batch export and archival access. Logs are written to a bucket on a schedule or through a sink, and Wazuh reads the objects from the bucket. This path fits when the organization already keeps logs in buckets for retention, or when delivery in batches is acceptable for the use case. The effort sits in bucket layout, object naming and the read permissions granted to Wazuh.
- Prerequisites: a bucket that holds the exported logs, a predictable object layout, and a service account with read access to that bucket only.
- Effort drivers: bucket structure, how objects are partitioned by date or project, the retention and lifecycle rules applied to the bucket, and how credentials are provisioned.
- Retention: buckets often already serve as the archive, so the design should state which copy is authoritative and how long each copy is kept.
- What it does not cover: events are read after they are written in batches, so this path does not give near-real-time alerting. It also does not expose host-level data.
- Combining it: teams often use buckets for long-term archive while streaming alert-relevant events through Pub/Sub.
Confirm the object layout, lifecycle rules and read permissions with your team and the module documentation before you commit to this path.
Wazuh agents installed on Compute Engine instances collect host-level data that cloud APIs do not expose. This includes file integrity monitoring, installed software inventory, local authentication events, and system logs written on the instance. The agent path is the usual answer for questions about what happened inside a virtual machine, and it runs alongside the cloud module collection rather than replacing it.
- Prerequisites: a supported operating system on each instance, network paths from the instances to the Wazuh server, and an enrollment method that fits your image and instance lifecycle.
- Effort drivers: the number of instances, whether instances are built from golden images or created by automation, the agent group design, and how enrollment credentials are handled.
- Operations: agents need upgrades and configuration changes, and ephemeral instances need a clean removal path so stale agents do not stay registered.
- What it does not cover: agents do not record control-plane activity such as IAM changes or API calls, which still come from the log paths above.
- Combining it: this path is usually combined with Pub/Sub or Cloud Storage so host and cloud activity can be correlated.
Check your image pipeline, enrollment method and agent group design before rolling out agents to production instances.
Which Google Cloud sources map to which Wazuh data
This table compares each Google Cloud log source with the collection path that carries it into Wazuh, the activity it describes and where it should surface in the dashboard, alerts or agent inventory. Confirm each row against the current Google Cloud module documentation for your Wazuh release before you build collection, because module settings and field handling change between releases. The main takeaway is that API-level logs and instance-level activity follow different paths and need separate verification.
| Google Cloud source | Collection path | What the data describes | Where it appears in Wazuh |
|---|---|---|---|
| Cloud Audit Logs (admin activity) | Pub/Sub subscription or Cloud Storage bucket, read by the Google Cloud module | Administrative changes to projects, IAM policies and resource configuration, with the acting principal | Confirm in the module documentation; expect dashboard views and alerts after rule matching |
| Cloud Audit Logs (data access) | Pub/Sub subscription or Cloud Storage bucket, read by the Google Cloud module | Reads and writes to data services, which must be enabled in Google Cloud before they are logged | Confirm which data access entries the module ingests and where they are indexed |
| Service logs exported through log sinks | Log sink to Pub/Sub or Cloud Storage, then the module | Service-specific events, such as network or security service logs, that depend on which services you enable | Alerts and dashboard views depend on the service; confirm the module's supported log types |
| Compute Engine instance activity | Wazuh agent installed on the instance, not the Google Cloud module | Host-level events, file integrity changes, software inventory and local authentication on the virtual machine | Agent inventory and agent-generated alerts for that instance |
| Compute Engine control plane changes | Cloud Audit Logs through Pub/Sub or Cloud Storage | Instance creation, deletion, metadata and firewall changes made through the Google Cloud API | Module-collected alerts; agent inventory will not show these changes |
| Service account credential activity | Cloud Audit Logs through the module, using the account the module authenticates with | Use of the credentials Wazuh itself needs, so changes to them are visible to the SIEM | Confirm how the module identifies its own access and how to alert on changes to it |
Securing the Google Cloud credential and data path
A Google Cloud integration gives Wazuh read access to logs that can name users, projects, IP addresses and resource identifiers. The controls below cover the credential, the message path, the Wazuh server and the stored data, so each step can be reviewed by the team that owns the cloud account.
Scope the service account tightly
Grant the service account only the roles needed to read the specific log sinks, Pub/Sub subscriptions or buckets Wazuh consumes, in the specific projects that hold them. Avoid project-wide viewer roles or organization-level grants. Ask the cloud team to document each role binding and review them when new log sources are added. Check that the account cannot change sinks, IAM policies or the logging configuration itself, since a Wazuh compromise should not become a cloud configuration compromise.
Rotate and store the key outside config files
Service account keys are long-lived credentials, so decide who creates them, how often they rotate and where they live. Store the key material in the client's secrets system and have the Wazuh server read it at runtime, instead of leaving it in plain configuration files or shell history. Confirm the rotation procedure with the cloud and security teams before go-live, including how the integration is updated without a gap in ingestion.
Restrict who can read the message path
Anyone who can read a Pub/Sub subscription or a Cloud Storage bucket can read the same log data Wazuh receives. Limit read access on the subscription or bucket to the Wazuh service identity and a small administrative group. Review who holds broad Pub/Sub or Storage roles in the project, because those roles often exist for unrelated purposes. Record the access review in the same change process used for other sensitive logs.
Control network paths to Google APIs
The Wazuh server needs outbound access to Google endpoints for the chosen collection method. Restrict outbound traffic to those destinations from the server's subnet, and block all other egress from that host. Place the server behind the same firewall policy used for other managed systems, and confirm the required destinations with the vendor documentation for your Wazuh version, since the list can change between releases.
Protect the dashboard and API access
Cloud audit data is useful to attackers, so the Wazuh dashboard and API that display it need the same controls as the rest of the platform. Enable SAML single sign-on where the organization has an identity provider, keep a documented fallback admin account, and limit API users to the roles they need. Confirm which users can view the Google Cloud alerts, since role-based access inside Wazuh decides who sees the underlying events.
SSO documentationDecide sinks and retention on both sides
Logs can contain email addresses, IP addresses, project names and resource identifiers, so decide which sinks are exported before enabling anything. Exclude high-volume or sensitive sinks that the monitoring use case does not need. Set retention in Google Cloud for the source data, and set a separate retention policy in the Wazuh indexer for the copies, with a documented reason for each period. Retention in one place does not remove data held in the other.
Common failures when Google Cloud logs do not reach Wazuh
This table lists the failures teams most often hit when Google Cloud logs stop arriving in Wazuh or arrive in the wrong shape, with the likely cause and a check to run for each. Work through the rows in order, since a missing sink or wrong resource name hides every other problem. Before changing settings, confirm the Wazuh version you run against its release notes for known issues.
| Symptom | Likely cause | Fix |
|---|---|---|
| No events arriving in Wazuh | The log sink filter excludes the audit or service logs you expect | Open the sink in Cloud Logging and confirm its filter matches the log names you enabled. Test the filter in Logs Explorer before saving it. |
| No events arriving in Wazuh | Subscription or bucket name in the Wazuh configuration does not match the Google Cloud resource | Compare the Pub/Sub subscription or Cloud Storage bucket name character by character with the resource in the console, including the project ID. Correct the configuration and restart the Wazuh server. |
| No events arriving in Wazuh | The service account cannot read from the subscription or bucket | Grant the service account read access on the specific subscription or bucket, then check the Wazuh server log for a successful pull on the next cycle. |
| Permission denied errors in the Wazuh log | Service account lacks the required role on the project, subscription or bucket | Assign the roles listed in the Wazuh Google Cloud module guidance to the service account at the narrowest scope that works. Re-test after each change. |
| Permission denied errors in the Wazuh log | Required Google Cloud API is not enabled in the project | In the project's API library, confirm the Pub/Sub or Cloud Storage API is enabled for the project that owns the resource, then retry the pull. |
| Duplicate alerts for the same Google Cloud event | Cloud module collection and an agent on the same instance both read the same logs | Decide one collection path per log type. Disable the duplicate source, or restrict the agent's log collection so it does not read the cloud audit files a second time. |
| Gaps in events after credential rotation | The old key was revoked or deleted before the Wazuh configuration was updated with the new key | Create the new key, update the credential on the Wazuh server, restart the service, and only then revoke the old key. Check for a gap in alert timestamps covering the rotation window. |
| Alert floods from noisy audit events | Broad log filters pull high-volume administrative or read events into Wazuh with default rule levels | Narrow the sink filter to the event types you act on, and tune rule levels or add suppression for routine service account activity. Measure alert counts per rule after each change. |
Questions buyers ask about Wazuh Google Cloud monitoring
What does it cost to bring Google Cloud logs into Wazuh?
The self-hosted Wazuh software is open source with no license fee, so the cost is the infrastructure and cloud usage around it. Those costs are separate: Google Cloud logging and any log sinks, Cloud Storage for buckets, Pub/Sub message usage if you use that path, and the servers or virtual machines running the Wazuh server, indexer and dashboard. Log volume is the main driver for each of them, so estimate it from your project list and the log types you enable, then check the numbers against your own Google Cloud bill and sizing. Ask any partner for a quote built from a written scope that lists the projects, log types and environments covered. One-time work (design, configuration and testing) is separate from the recurring cloud and hosting spend.
How long does a first Google Cloud integration take?
The duration depends on how much you connect and how quickly approvals move, so no fixed timeline applies to every environment. The main drivers are the number of Google Cloud projects, the log types you choose (audit logs, network logs and others each need their own export path), whether service accounts and their roles need security approval, and how long testing takes against real events. A single project with one log type and fast approvals is much shorter than a multi-project organization with several log types and a change board. Ask for a schedule that separates design, build, test and handover so you can see where time is spent.
What does the work need from our team?
You need four things before work starts. First, cloud administration access, meaning an account that can create or review service accounts, Pub/Sub topics or buckets, and log sinks in the projects in scope. Second, a named owner on your side who can make decisions about scope and sign off changes. Third, an agreed list of log sources, so the team knows which projects and log types to collect and which to leave out. Fourth, a test window where Wazuh rules and dashboards can be checked against generated events without disrupting production monitoring. Missing any of these usually shows up as delay in the middle of the work rather than at the start.
Can our internal team set up the integration without an outside partner?
Yes, if your team has the skills for both sides of the integration. On the Google Cloud side, that means IAM knowledge for service accounts, roles and least-privilege grants, plus familiarity with log sinks, Pub/Sub or Cloud Storage. On the Wazuh side, it means administering the server and dashboard, configuring modules, and writing or tuning decoders and rules. Teams that lack either skill set often use a partner for the design and testing stages, then run the result themselves. Whichever route you choose, document the service accounts, bucket or topic names and rule changes so the next person can maintain them.
Do we need a Wazuh Cloud subscription to monitor Google Cloud?
No. Wazuh Cloud is an optional managed, cloud-delivered XDR and SIEM service that the vendor sells with its own plans, and the self-hosted Wazuh software can run the Google Cloud integration in your own infrastructure. If you are considering Wazuh Cloud, confirm exactly what it covers before you buy, including which modules, integrations and data sources are included in each plan, what support level applies, and whether the Google Cloud collection you need is supported there. Wazuh Cloud offers a 14-day free trial that needs no credit card, which lets you check that scope against your own requirements.
How is the Google Cloud integration maintained after Wazuh releases updates?
Treat the integration as part of your Wazuh estate. Wazuh shipped 4.14 patch releases on 17 March, 23 April, 1 July, 29 July, 23 September and 14 October 2026, so expect regular updates in the release line you run. After each update, check that the Google Cloud module still collects, that decoders and rules still parse the events, and that service account permissions still match what the module needs. Keep the Google Cloud project configuration, service account list and rule changes in version control, and test any update in a non-production environment before it reaches the production server. Ask any partner whether ongoing upkeep is included in the scope or offered as a separate retainer.
What breaks most often in a Google Cloud to Wazuh pipeline?
The most common problems are credential and permission issues, missing or misconfigured log sinks, and parsing changes after updates. A service account without the right read role will produce no events, and a sink that exports to the wrong bucket or topic looks the same from the dashboard. Check the service account key handling, confirm each project's sink exports the intended log types, and verify that events arrive in the expected index. Build a short test checklist that generates a known event for each log type, then confirm it appears with the expected fields and rule matches. Repeat the checklist after each Wazuh update or permission change.
How DeployOpen scopes and delivers Wazuh Google Cloud monitoring
DeployOpen plans, builds, documents and supports Wazuh deployments inside infrastructure you control. For Google Cloud monitoring, we start from the log sources, projects and service accounts your organization actually needs, then deliver a configured collection path that your security and cloud teams can review and operate.
How we scope
- Inventory the Google Cloud projects, log types and retention needs your team wants Wazuh to receive
- Agree in writing which collection path applies, Pub/Sub or Cloud Storage buckets, for each log source
- Define service account roles, least-privilege permissions and where credentials will be stored
- Set out which instances get Wazuh agents and which log sources the cloud modules will cover
How we build
- Configure the Google Cloud log export, topic or bucket layout and service account access for the agreed sources
- Enable and configure the Wazuh Google Cloud module on the Wazuh server with the agreed settings
- Test ingestion end to end and confirm that events arrive, decode and appear in the dashboard
- Review alert rules for the agreed log types and tune noisy detections before handover
How we hand over
- Document the Google Cloud resources, service accounts, credential locations and configuration files created
- Provide a verification record showing test events, ingestion checks and rule results for each source
- Walk your operations and security teams through daily checks, troubleshooting steps and change procedures
- Deliver a retest or verification pass against the agreed scope before the engagement closes
How we support
- Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts
- Ongoing support, upgrades and continuous testing for the monitoring setup are available as a retainer
- Confirm with your team which upgrade path applies to your Wazuh release line before any change window
- Ask for a written quote based on the agreed scope, which sets the cost of each component and recurring item

