Skip to content
Skills Library
DevOps & cloud · Analysis

cloud-logging

/cloud-logging

🐉 Skill for interacting with and analyzing Google Cloud Logging and Error Reporting. Use this when you need to process large JSON logs from GCP or convert them to Apache format for easier analysis.

Repository
sre ↗
Licence
Apache-2.0
Last repository change
12.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
5
Scripts
2
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 12.10.2026, without references to retired models or APIs.

Licence

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/cloudlogging2apachelogs.py, scripts/cloudlogging2apachelogs_test.py

What it does and when to use it

🐉 Skill for interacting with and analyzing Google Cloud Logging and Error Reporting. Use this when you need to process large JSON logs from GCP or convert them to Apache format for easier analysis.

Original author description

🐉 Skill for interacting with and analyzing Google Cloud Logging and Error Reporting. Use this when you need to process large JSON logs from GCP or convert them to Apache format for easier analysis.

How it works

  1. Logs DOs and DONT's
  2. Bundled Scripts
  3. Bundled Assets
Original SKILL.md headings · 43 lines, 238 words
SKILL.md preview
---
name: cloud-logging
description: 🐉 Skill for interacting with and analyzing Google Cloud Logging and Error Reporting. Use this when you need to process large JSON logs from GCP or convert them to Apache format for easier analysis.
metadata:
  author: Riccardo Carlesso
  version: 0.3.0
  status: published
---

# Cloud Logging 

This skill provides utilities for analyzing logs, errors, and system health across Google Cloud deployments.

* Prioritize Logs with `severity` >= "ERROR" as they tend to be less verbose.
* Constrain logs around the time of investigation (possibly going back a few hours/days to find smoking guns).


## Logs DOs and DONT's

Ingesting Logs into an LMM memory can easily saturate your context.

* [BAD] **DO NOT** ingest big files. Antipattern:  `ReadFile path/to/access_logs_raw.json`.
    * It's ok to get raw logs, but also use `jq` or scripts to read them without polluting your context window.
    * [GOOD] Use simple maniuplation like: `jq -r '.[] | .httpRequest.status'` to get a list of statuses.
    * [GOOD] Reduce size with scripts such as `scripts/cloudlogging2apachelogs.py <big_logfile.json>` (provided in the skill)
* [BAD] Do not call **long**-running calls without precautions, eg `gcloud logging read`
    * [GOOD] Rather prepend some reasonable `timeout 60 gcloud logging read ...`, or
    * [BEST] Use the `run_shell_command` tool with `is_background: true` and poll the results being dumped to file periodically.


## Bundled Scripts

### cloudlogging2apachelogs.py

Converts GCP Cloud Logging JSON exports into a format loosely resembling Apache Combined Log format. This is much more token-efficient for the LLM.

**Usage**:
```bash
python3 scripts/cloudlogging2apachelogs.py path/to/logs.json
```

**Testing**:
You can verify the script works by running its test:
```bash
python3 scripts/cloudlogging2apachelogs_test.py
```

## Bundled Assets

* `assets/sample_logs.json`: A small sample of GCP Cloud Logging JSON for testing conversion scripts.
Files in this package (5)
  • CHANGELOG.md 1 KB
  • SKILL.md 2 KB
  • assets/sample_logs.json 2 KB
  • scripts/cloudlogging2apachelogs.py 2 KB
  • scripts/cloudlogging2apachelogs_test.py 1 KB

Versions

The database has no other skills named cloud-logging.

Database snapshot: 13.11.2026 · package version 2e09ec7f54c2 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 2 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100gcp-cloud-logging
    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.
  • 100cloud-logging-sink-setup
    Configure cloud logging sink setup operations. Auto-activating skill for GCP Skills. Triggers on: cloud logging sink setup, cloud logging sink setup Part of the GCP Skills skill category. Use when working with cloud logging sink setup functionality. Trigger with phrases like…
  • 100gcloud-usage
    This skill should be used when user asks about "GCloud logs", "Cloud Logging queries", "Google Cloud metrics", "GCP observability", "trace analysis", or "debugging production issues on GCP".
  • 100gcp-audit-logs
    Configure GCP Cloud Audit Logs for compliance. Set up log routing and BigQuery analysis. Use when auditing GCP activity.
  • 100gcp-audit-logs
    Configure GCP Cloud Audit Logs for compliance. Set up log routing and BigQuery analysis. Use when auditing GCP activity.
  • 100gcp-audit-logs
    Configure GCP Cloud Audit Logs for compliance. Set up log routing and BigQuery analysis. Use when auditing GCP activity.

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.