All skills
google avatar

/cloud-logging-query-generation

@becc4b8
by googlegoogle/skills21k stars
1,698

Generates Logging Query Language (LQL) queries for Google Cloud Logging from natural language. Use this skill when you need to query log data or when you are debugging issues. You can filter log data by Google Cloud service. Don't use this skill to query other databases, such as SQL or Cloud Spanner.

Use this Skill: https://skilld.dev/gh/google/skills/cloud-logging-query-generation

This session only. Nothing lands on disk.

referencesquery_cloud_observability.md

≈347 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Cloud Observability and Monitoring LQL queries

Example queries

Log sink activities

Variables to replace: None

resource.type="logging_sink" AND
log_id("cloudaudit.googleapis.com/activity")

Log-based metric create or update activities

Variables to replace: None

resource.type="metric" AND
log_id("cloudaudit.googleapis.com/activity") AND
(SEARCH(protoPayload.methodName, "UpdateLogMetric") OR SEARCH(protoPayload.methodName, "CreateLogMetric"))

Notification channel errors

Variables to replace: None

resource.type="stackdriver_notification_channel" AND
severity >= ERROR

Notification channel errors due to throttling

Variables to replace: None

resource.type="stackdriver_notification_channel" AND
severity>=ERROR AND
jsonPayload.summary="Notification delivery throttled."

Uptime checks - all logs

Variables to replace: None

resource.type="uptime_url"

Uptime checks for a specific host

Variables to replace: <URL>

resource.type="uptime_url" AND
resource.labels.host="<URL>"

Audit logs configuration removed or disabled

Variables to replace: None

log_id("cloudaudit.googleapis.com/activity") AND
resource.type=("organization" OR "project" OR "folder") AND
protoPayload.serviceData.policyDelta.auditConfigDeltas.action="REMOVE"

Source: SKILL.md on GitHub

No alerts9d3 checks · Risk SAFE
  • Gen Agent Trust Hub9d

    This skill is designed to generate Logging Query Language (LQL) queries for Google Cloud Logging from natural language input. It provides comprehensive reference guides, syntax rules, and examples for various Google Cloud services. No security issues were detected.

  • Socket9d

    No alerts

  • Snyk9d

    Risk: LOW · No issues

Signed by skilld at becc4b8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub yesterday.

Activeupdated 2 weeks ago
metadata
{
  "version": "1.0.0",
  "category": "CloudObservabilityAndMonitoring"
}

README badge

README badge for google/skills/cloud-logging-query-generation