workspace/skills/gcp-cloud-logging/SKILL.md
Google Cloud Logging — log search, VPC flow logs, firewall logs, audit logs, log buckets and views. Use when searching GCP logs, investigating denied VPC flow traffic, checking who deleted a VM, analyzing firewall rule hits, or troubleshooting a GCP application error.
npx skillsauth add automateyournetwork/netclaw gcp-cloud-loggingInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
https://logging.googleapis.com/mcp (Streamable HTTP)GOOGLE_APPLICATION_CREDENTIALS) or gcloud auth application-default loginGCP_PROJECT_ID environment variable| Tool | What It Does |
|------|-------------|
| list_log_entries | Search and retrieve log entries — the primary tool for debugging, error hunting, and audit |
| list_log_names | Discover what logs exist in a project — find available log sources |
| get_bucket | Get details of a specific log bucket (storage container for logs) |
| list_buckets | List all log buckets in a project |
| get_view | Get a specific log view (fine-grained access filter on a bucket) |
| list_views | List log views in a bucket |
When investigating GCP network traffic:
list_log_names — find compute.googleapis.com/vpc_flowslist_log_entries filtered by:
reporter="DEST" and denied connectionsgcp-cloud-monitoring for network metrics during the same periodWhen investigating GCP firewall rule activity:
list_log_names — find compute.googleapis.com/firewalllist_log_entries filtered by:
When investigating GCP API activity (equivalent of AWS CloudTrail):
list_log_entries for cloudaudit.googleapis.com/activity — who created/modified/deleted resources?list_log_entries for cloudaudit.googleapis.com/data_access — who read what?compute.instances.delete)When debugging a GCP issue:
list_log_entries for the affected serviceresource.labels.instance_id for specific VMsgcp-cloud-monitoring alert violationslist_buckets to verify log retention settings| Log Name | What It Contains |
|----------|-----------------|
| compute.googleapis.com/vpc_flows | VPC flow logs — source/dest IP, port, bytes, packets, action |
| compute.googleapis.com/firewall | Firewall rule hits — allowed/denied connections with rule name |
| cloudaudit.googleapis.com/activity | Admin activity audit — resource create/modify/delete events |
| cloudaudit.googleapis.com/data_access | Data access audit — read operations on resources |
| cloudaudit.googleapis.com/system_event | System events — Google-initiated actions (live migration, etc.) |
| compute.googleapis.com/shielded_vm_integrity | Shielded VM boot integrity verification |
| dns.googleapis.com/dns_queries | Cloud DNS query logs |
| loadbalancing.googleapis.com/requests | Load balancer access logs |
| networksecurity.googleapis.com/firewall_threat | Cloud IDS / Firewall threat detection |
# VPC flow logs — denied traffic to port 443
resource.type="gce_subnetwork"
logName="projects/PROJECT/logs/compute.googleapis.com%2Fvpc_flows"
jsonPayload.disposition="DENIED"
jsonPayload.connection.dest_port=443
# Firewall — denied SSH attempts
resource.type="gce_subnetwork"
logName="projects/PROJECT/logs/compute.googleapis.com%2Ffirewall"
jsonPayload.disposition="DENIED"
jsonPayload.connection.dest_port=22
# Audit — who deleted VMs in the last hour
logName="projects/PROJECT/logs/cloudaudit.googleapis.com%2Factivity"
protoPayload.methodName="compute.instances.delete"
timestamp>="2026-01-01T00:00:00Z"
# DNS queries from specific source
resource.type="dns_query"
jsonPayload.sourceIP="10.0.1.50"
GCP_PROJECT_ID — Google Cloud project IDGOOGLE_APPLICATION_CREDENTIALS — Path to service account key JSON filetesting
Human-in-the-loop escalation via HumanRail — route low-confidence agent decisions, pre-destructive operation approvals, and ambiguous incident tickets to real human engineers. Human answers are verified and returned as structured output. Workers are paid via Lightning Network. Use when the agent is uncertain, when a destructive change needs explicit human sign-off beyond a ServiceNow CR, or when an ambiguous ticket requires human triage before automated handling.
testing
Manage EVE-NG node lifecycle. Use when listing nodes, checking runtime state, creating or deleting nodes, starting or stopping nodes or whole labs, verifying node details, or wiping node NVRAM back to factory defaults.
development
Manage EVE-NG labs and platform inventory. Use when listing labs, checking lab metadata, creating or deleting labs, importing or exporting lab archives, checking EVE-NG health or auth, or verifying available node images before build work.
tools
Execute live CLI commands on running EVE-NG nodes over telnet console. Use when running show commands, making live config changes, verifying protocol state, testing connectivity, checking console readiness, or interacting with IOS, Junos, VPCS, EOS, or NX-OS nodes.