Skip to content

[extension/encoding/googlecloudlogentryencodingextension] Protocol validation does not allow h2 #45214

@Vx-V

Description

@Vx-V

Component(s)

extension/encoding/googlecloudlogentryencoding

What happened?

Description

handleHTTPRequestField does not allow protocol to have value without /, but Google seems to be using h2 since mid-December for HTTP/2

Steps to Reproduce

Ingest Google logs and use googlecloudlogentry_encoding

Expected Result

Log entry with httpRequest > protocol > h2 should be parsed

Actual Result

Log entry with httpRequest > protocol > h2 is dropped

Collector version

0.142.0

Environment information

No response

OpenTelemetry Collector configuration

Log output

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

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions