Skip to content

Add generic encoding.format to GCP encoding extension #43320

@joecompute

Description

@joecompute

Component(s)

extension/encoding/googlecloudlogentryencoding

Is your feature request related to a problem? Please describe.

We would like to add the generic "encoding.format" attribute now used in the AWS logs encoding extension to the Google Cloud log entry encoding extension.

Related PRs:

Describe the solution you'd like

We would like to continue on the path of having a cloud-agnostic encoding.format field for identifying the log type in a concise and straightforward manner.

This way, we won't need to rely on the unnecessarily long and nonstandard naming scheme in the cloud.resource_id fields, for example.

GCP Log Type Encoding Support cloud.resource_id Proposed new encoding.format value
Activity Logs in main one of cloudaudit.googleapis.com%2Factivity, cloudaudit.googleapis.com%2Fdata_access, cloudaudit.googleapis.com%2Fpolicy, or cloudaudit.googleapis.com%2Fsystem_event auditlog
VPC Flow Logs Anticipated - Open PR one of networkmanagement.googleapis.com%2Fvpc_flows or compute.googleapis.com%2Fvpc_flows vpcflow

Describe alternatives you've considered

Leave this up to the cloud.resource_id, which we will continue to support, but which is not conducive to downstream consumption or cross-cloud data efforts. It also has the ugly %2F in the string, and has a nonstandard base naming scheme (see the VPC Flow Logs row above).

Additional context

No response

Tip

React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions