gcp-logs
Installation
SKILL.md
GCP Logs Query Skill
Prerequisites
gcloudCLI installed and authenticated- Appropriate IAM permissions (
roles/logging.vieweror equivalent) - Target project set via
--projectflag orgcloud config set project
Base Query Structure
gcloud logging read 'FILTER' \
--project=PROJECT_ID \
--limit=50 \
--format=json \
--freshness=1d
Always include --limit and --freshness (or timestamp bounds) to avoid unbounded queries.