Pular para o conteúdo
Skillpedia
Deploy e nuvem (DevOps)33 mil · #8766

google-cloud-networking-observability

O que ela faz

Esta skill encontra respostas sobre o tráfego de rede no Google Cloud, como conexões bloqueadas ou uso intenso. Ela é para engenheiros de nuvem que precisam descobrir por que o tráfego está falhando ou para onde ele vai.

Quando usar

  • ✓Quando você quer saber se um firewall está bloqueando o tráfego.
  • ✓Quando você precisa ver quais sistemas estão enviando mais tráfego de rede.
  • ✓Quando você quer testar o caminho entre duas máquinas no Google Cloud.

Link da skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/google-cloud-networking-observability/SKILL.md

Copie e cole na sua IA (Claude, ChatGPT ou Cursor) pedindo para seguir as instruções.

Como usar

O jeito mais fácil: copie a mensagem e cole na sua IA. Ela lê a skill e segue as instruções.

Mensagem pronta para colar

Use esta skill para me ajudar: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/google-cloud-networking-observability/SKILL.md Leia o arquivo SKILL.md desse link e siga as instruções dele na minha tarefa.
Quer que a sua IA encontre skills como esta sozinha?Instale o MCP grátis do Skillpedia: uma linha, e ela pesquisa entre 15.000+ skills antes de cada tarefa.Instalar em 1 minuto →

Exemplo do que pedir para a IA

“Verifique os logs de firewall do Google Cloud e me diga por que o tráfego do meu servidor está sendo bloqueado.”

5 skills novas por semana. 1 minuto de leitura.

Como funciona

A skill identifica a fonte certa de log ou de métrica, executa uma consulta focada e informa o resultado diretamente. Ela para assim que encontra a resposta pedida.

Conteúdo técnico (SKILL.md original)

Texto original do autor, em inglês, direto do GitHub.

Google Cloud Networking Observability Expert

Core Directive: Results First

  1. Identify the Primary Source: Quickly determine if the user needs firewall logs, threat logs, Cloud NAT, VPC Flow logs, or metrics.
  2. Execute & Present: Perform the minimum required query to get a direct answer.
  3. Definitive Termination: Once you identify the requested data, regardless of the value (including 0, null, or "No traffic"), present the finding and call the finish tool in the same turn. Do NOT attempt to find "active" or "busier" resources to provide a "better" answer unless specifically instructed to troubleshoot a resource that is expected to be busy.

Log & Telemetry Overview

  • Threat Logs: Specialized logs from Cloud Firewall Plus and Cloud IDS that identify malicious traffic patterns (for example, SQL injection or malware) using deep packet inspection.
  • VPC Flow Logs: Capture sample IP traffic to and from network interfaces. Use for traffic analysis, volume trends, and top talkers.
  • Firewall Logs: Record connection attempts matched by firewall rules. Use to identify "DENY" events or verify "ALLOW" rules.
  • Cloud NAT Logs: Audit NAT translations. Use to audit traffic going through NAT gateways or troubleshoot port exhaustion.
  • Networking Metrics: Aggregated time-series data for throughput, RTT (latency), and packet loss. Use for historical trends and performance monitoring.
  • Connectivity Tests: Static analysis tool for path diagnostics. Use to identify firewall or routing misconfigurations between endpoints.

Procedures

0. Log Source Preference

  • ALWAYS check for BigQuery linked datasets (for example, big_query_linked_dataset, _AllLogs) before using Cloud Logging for high-volume analysis or aggregations. This is the preferred method for finding trends or top-blocking rules.
  • Metadata Awareness (BigQuery): Subnetworks may be configured with EXCLUDE_ALL_METADATA, causing VM names to be NULL in VPC Flow Logs. If a query by VM name returns nothing, retry using the internal IP address (jsonPayload.connection.src_ip).

1. Tool Selection & Discovery

  • MCP Servers First: Use Cloud Monitoring MCP, BigQuery MCP, or Cloud Logging MCP.
  • Resource Discovery: If a user-specified resource (for example, NAT gateway, VPN tunnel) is not found in metrics/logs:
    1. Use run_shell_command with gcloud to list resources in the project.
    2. Search Cloud Logging MCP for the resource name to find correct labels.
  • CLI Fallback: Use gcloud or bq only if MCP servers are unavailable. DO NOT use gcloud monitoring; it is restricted. Immediately use the curl templates in metrics-analysis.md.

2. Schema Verification & Error Recovery

If a BigQuery query fails with an 'Unrecognized name' error or schema mismatch:

  1. Validate Schema: Run bq show --schema --format=json {project_id}:{dataset_id}.{table_id} to verify field names and casing (for example, jsonPayload versus json_payload). 2. Dry Run: Before executing a corrected query, use bq query --use_legacy_sql=false --dry_run "{query_text}" to verify field references without incurring cost or execution time. 3. Retry: Apply identified fixes to the original query and execute.

3. Analysis Guides (Read Only When Needed)

For detailed SQL patterns, field definitions, and advanced troubleshooting, read the corresponding reference file:

Boundaries (CRITICAL)

  • ALWAYS present the direct answer as soon as it is identified.
  • *NEVER
Perguntas frequentes

Quais logs ela consegue ler?

Ela consegue ler VPC Flow Logs, logs de firewall, logs do Cloud NAT, métricas de rede e logs de ameaças.

Ela consegue testar um caminho de rede?

Sim. Ela pode executar Connectivity Tests para verificar a rota entre dois pontos.

Ela também olha outros recursos com muito uso?

Não. Ela responde à pergunta feita e não procura outros recursos, a menos que você peça.

Detalhes

Descrição original do autor

Investigates Google Cloud networking issues by analyzing logs, metrics, and diagnostics. Use when investigating VPC Flow Logs, NAT, firewall, or threat logs, querying latency and throughput metrics, or running Connectivity Tests for path diagnostics.

repo: davila7/claude-code-templates

Popularidade

Estrelas no GitHub
33 mil
Posição no ranking
#8766
Licença
MIT
Atualizada em
02/11/2026

Essa skill é útil?

0

Entre para votar.

Comentários

  • …

Mais skills deste repositório

Skills parecidas