Google Cloud Platform (GCP) Logs

GCP logs provide comprehensive monitoring and logging across all Google Cloud services through Cloud Logging. These logs capture various types of data, including system events, API calls, network traffic, resource access, and performance metrics. GCP logs are essential for tracking user activity, monitoring infrastructure, troubleshooting issues, auditing security and compliance, and optimizing the performance of Google Cloud resources.

Ingest Methods

GCP Logs can be ingested using the GCS object storage method as well as setting up a webhook to receive events.

GCS buckets are inherently cheaper than using the webhook method but logs can be delayed by up to an hour. The webhook ingestion imports logs as soon as they are generated, but using pub/sub to forward every event can become more expensive if there are lots of logs.

Schema

The following columns are exposed for this source. RunReveal applies schema normalization across all sources, ensuring uniform field names and data types for cross-source queries and reusable detection logic.

Table: gcp_logs (60 columns)

ColumnType
workspaceIDString
sourceIDString
sourceTypeLowCardinality(String)
sourceTTLUInt32
receivedAtDateTime
idString
eventTimeDateTime
eventNameString
eventIDString
srcIPString
srcASCountryCodeString
srcASNumberUInt32
srcASOrganizationString
srcCityString
srcConnectionTypeString
srcISPString
srcLatitudeFloat64
srcLongitudeFloat64
srcUserTypeString
dstIPString
dstASCountryCodeString
dstASNumberUInt32
dstASOrganizationString
dstCityString
dstConnectionTypeString
dstISPString
dstLatitudeFloat64
dstLongitudeFloat64
dstUserTypeString
actorMap(String, String)
ColumnType
tagsMap(String, String)
resourcesArray(String)
serviceNameString
enrichmentsArray(Tuple(data Map(String, String), name String, provider String, type String, value String))
readOnlyBool
rawLogString
insertIdString
logNameString
textPayloadString
payloadTypeString
methodNameString
resourceNameString
payloadServiceNameString
severityString
resourceTypeString
principalEmailString
principalSubjectString
authorizationInfoArray(String)
projectIDString
subscriptionIDString
resourceLabelsArray(Tuple(String, String))
callerIpString
callerSuppliedUserAgentString
requestPayloadString
responsePayloadString
payloadMetadataTypeString
metadataEventsArray(String)
bindingDeltasArray(String)
jsonPayloadMessageString
jsonPayloadPIDString