Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

cloud-logging-configuration-basics

Skill by google

Configures single-project Cloud Logging on Google Cloud, including log buckets, sinks, views, IAM access to sensitive logs, logs-based metrics and exclusions. It is for engineers who manage logging in one project. It does not cover cross-project or multi-project setups.

  • Score 92
  • 25k stars
  • Apache-2.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install cloud-logging-configuration-basics

Built from the published package, never by AI.

git clone --depth 1 https://github.com/google/skills /tmp/skills && mkdir -p ~/.claude/skills && cp -r /tmp/skills/skills/cloud/cloud-logging-configuration-basics ~/.claude/skills/cloud-logging-configuration-basics

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install cloud-logging-configuration-basics in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant through configuring Cloud Logging resources in a single Google Cloud project. It covers regional log buckets with retention and Observability Analytics, log sinks that route entries to buckets, and log views. It also explains how to hide sensitive logs from the default _Default view, grant access to a specific view with IAM conditions, create logs-based metrics, and set up log exclusions and sampling.

The skill sorts actions into safety tiers. Read-only commands run without confirmation. Metric creation, IAM grants and routing to billed buckets require interactive confirmation. Exclusions that discard logs require an explicit typed confirmation. It is written for operators who use the gcloud CLI. It is not for cross-project logging or multi-project setups.

Written from the project's SKILL.md and checked against it.

What it can do

  • Create log bucketsCreates a regional log bucket with a retention policy and optional Observability Analytics.
  • Route logs with sinksCreates a log sink with a filter that sends matching entries to a log bucket.
  • Restrict sensitive logsUpdates the _Default view filter and creates a separate log view for sensitive logs.
  • Grant view access with IAM conditionsGrants the Logs View Accessor role limited to one specific log view.
  • Create logs-based metricsCreates a counter metric that counts log entries matching a filter.
  • Discard logs with exclusionsAdds a sink exclusion that deletes matching logs before storage, with typed confirmation.

What you need

  • gcloud CLI installed
  • A Google Cloud project ID
  • Permissions to manage logging and IAM in the project

Try asking

  • Create a 365-day log bucket in us-central1 with analytics enabled
  • Hide our audit data access logs from the default view
  • Create a logs-based metric that counts OutOfMemory errors

Good to know

  • Only for single-project setups. Cross-project logging is not covered.
  • After a bucket is upgraded to Observability Analytics, it cannot be downgraded.
  • Sink exclusions delete matching logs immediately and irreversibly.
  • Network calls to Google Cloud APIs may be blocked in sandboxed environments, so the skill avoids discovery commands.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: skills/cloud/cloud-logging-configuration-basics/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md14 KB
  • references/attribution.md2 KB

Alternatives to cloud-logging-configuration-basics

All alternatives →
deploy-release-testvercel
94

Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.

AAA Skill 144k
deepeval-tracingconfident-ai
94

Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.

AAA Skill 20k
azure-container-registry-cligithub
94

Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.

AAA Skill 42k
crabbox-appsopenclaw
94

Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.

AAA Skill 395k
gke-batch-hpcgoogle
94

Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.

AAA Skill 25k
gke-cost-analysisgoogle
94

Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.

AAA Skill 25k

Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli

cloud-logging-configuration-basics: common questions

Does this skill work across multiple projects?

No. The description says not to use it for cross-project logging or multi-project setups.

Can it hide sensitive logs without deleting them?

Yes. By default it excludes sensitive logs from the _Default view and does not stop storing them. Storage exclusions are used only when the user explicitly asks to discard logs.

Does it run commands without asking first?

Only read-only and non-billing changes run without confirmation. Billing, IAM and log-discarding actions require explicit user confirmation.

How do I install cloud-logging-configuration-basics?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is cloud-logging-configuration-basics free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is cloud-logging-configuration-basics safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to cloud-logging-configuration-basics?

Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.

cloud-logging-configuration-basics Install

Add to stack

Loading.