cloud-logging-configuration-basics
하는 일
이 스킬은 하나의 Google Cloud 프로젝트에서 로그가 저장되고 보이는 방식을 설정하도록 돕습니다. 로그를 체계적으로 관리하고 민감한 항목을 볼 수 있는 사람을 제한하려는 팀을 위한 스킬입니다.
사용하는 경우
- ✓하나의 Google Cloud 프로젝트에서 로그 버킷, 로그 싱크 또는 로그 뷰를 설정하고 싶을 때.
- ✓민감한 로그를 기본 보기에서 숨기거나 IAM으로 제한해야 할 때.
- ✓한 프로젝트에 로그 제외 항목, 샘플링 또는 로그 기반 지표를 추가하고 싶을 때.
스킬 링크
https://github.com/google/skills/blob/main/skills/cloud/cloud-logging-configuration-basics/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“내 Google Cloud 프로젝트의 민감한 감사 로그를, 볼 필요가 없는 사람에게는 보이지 않게 숨겨 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
gcloud 명령으로 버킷, 싱크, 뷰, 접근 규칙을 한 단계씩 만듭니다. 읽기 전용 점검으로 시작하고, 어떤 변경이든 하기 전에 확인을 요청합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Configuring Cloud Logging
Use this skill to configure Cloud Logging resources such as log buckets, log views, or log sinks.
[!IMPORTANT] Sandbox Network Limitation (CRITICAL for Agent Testing): During evaluation or in restricted sandboxed environments, network traffic to Google Cloud APIs is blocked. Do NOT run network discovery commands to find resource names, project IDs, or organization IDs. Always use the exact project IDs or placeholders provided in the user prompt or instructions for example,
{project_id}. Assume these resources exist and proceed directly with configuration commands. Running these discovery commands will cause the execution to hang and timeout.
Attribution
MUST READ: Before executing any gcloud, REST API, or MCP command, you
MUST read Usage Attribution. For commands executed
directly in the terminal (never in generated scripts, Terraform, or user code),
prefix gcloud with
CLOUDSDK_METRICS_REQUEST_ATTRIBUTION="agent-skills/1.0 (skill:cloud-logging-configuration-basics)"
and append agent-skills/1.0 (skill:cloud-logging-configuration-basics) to User-Agent headers.
Safety and Confirmation Tiers (CRITICAL)
Before executing any commands on behalf of the user, you MUST adhere to the following safety tiers based on the action requested:
- Tier R: Read-Only
- Description: Commands that only read state or query logs.
- Example commands:
gcloud logging readgcloud logging buckets list
- Rule: No confirmation needed. You may execute these commands immediately to gather information.
- Tier M: Mutation (Non-Billing)
- Description: Configuration modifications or free metadata creations that do not incur direct storage or billing costs and do not affect resource security/access policies.
- Example commands:
gcloud logging views creategcloud logging views updategcloud logging scopes creategcloud logging buckets create
- Rule: No confirmation needed. You may execute these commands immediately to apply configurations.
- Tier B: Billing and Security-Sensitive Mutations (High-Risk)
- Description: Operations that create billing-inducing resources or integrations, or modify security and IAM access control policies (presenting a risk of privilege escalation).
- Example commands:
gcloud logging metrics creategcloud logging links creategcloud projects add-iam-policy-binding
- Rule: Interactive confirmation required. These commands create resources that incur billing costs or alter security access. You MUST present the exact, literal command and receive user confirmation before executing. NEVER execute in the same turn as asking.
- Tier D: Causes irreversible data loss
- Description: Actions that permanently discard or delete logs, for example sink exclusions.
- Example commands:
gcloud logging buckets deletegcloud logging sinks update --add-exclusion
- Rule: Explicit typed confirmation required. These commands discard or delete logs immediately and irreversibly, or they may result in log data not being stored. You MUST ask for explicit typed confirmation, for example, "Yes, discard logs", and halt execution until the user replies.
Getting Started
If the gcloud executable is missing, refer to the
Google Cloud CLI Installation Guide
to install it.
Creating Log Buckets (Compliance and Analytics) (Tier M)
To create a regional log bucket with a specific retention policy for regulatory compliance, and with Observability Analytics enabled:
[!WARNING] Mandatory Observability Analytics Downgrade Warning: Whenever providing guidance, writing a guide, or drafting commands on Cloud Logging cost optimization or exclusions, you must explicitly include the following warning in your final text response and any generated guides: "After a log bucket has been upgraded to use Observability Analytics, it cannot be downgraded to remove the analytics capability."
gcloud logging buckets create {bucket_id} \
--project={project_id} \
자주 묻는 질문
여러 프로젝트의 로깅도 다루나요?
아닙니다. 단일 프로젝트 설정용이므로, 여러 프로젝트에는 교차 프로젝트 스킬을 사용하세요.
기본 보기에서 로그를 숨길 수 있나요?
네. 필터를 써서 기본 보기에서 민감한 로그를 제한하거나 숨길 수 있습니다.
확인 없이 설정을 바꾸나요?
아닙니다. 변경에는 사용자의 명시적인 확인이 필요하며, 읽기 전용 점검을 먼저 실행합니다.
상세 정보
작성자의 원본 설명
Configure single-project Cloud Logging on Google Cloud: regional log buckets, log sinks, log views, restricting or hiding sensitive logs in the default view (_Default) filter, IAM permissions for views (Logs View Accessor, IAM conditions), logs-based metrics, log exclusions, and sampling. Don't use for cross-project logging or multi-project setups.
repo: google/skills
인기도
- GitHub 스타
- 22k
- 순위
- #10236
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
finding-google-skills
22k에이전트가 호스팅, 데이터베이스, 저장소, 로그인, AI 모델 제공처럼 설정 작업에 맞는 Google 가이드를 찾도록 돕습니다.
gcloud
22k에이전트가 Google Cloud gcloud 명령을 작성하고 확인하도록 돕습니다. 플래그를 추측하지 않도록 무엇이든 실행하기 전에 정확한 문법을 확인합니다.
google-cloud-recipe-auth
22k에이전트가 Google Cloud의 신원과 접근 권한을 안내합니다. 사람과 서비스가 어떻게 로그인하고 어떤 권한을 받는지 포함합니다.
google-cloud-recipe-onboarding
22k새 개발자가 Google Cloud에서 프로젝트 선택, 결제 연결, 첫 리소스 배포 같은 첫 단계를 밟도록 안내합니다.
비슷한 스킬
openclaw-update
394k에이전트가 설치 방식에 맞는 방법을 골라 기존 OpenClaw Gateway를 업데이트하고, 세션이 계속 작동하도록 돕습니다.
diagnose-gateway
394k에이전트가 설정, 채널, 포트를 확인해 OpenClaw Gateway가 왜 실패하는지 찾되, 아무것도 바꾸지 않도록 돕습니다.
crabbox-apps
394k에이전트가 임시 클라우드 머신에서 앱을 열고 실행한 뒤, 그 화면을 채팅의 측면 패널에 보여 주도록 돕습니다.