apisix icon indicating copy to clipboard operation
apisix copied to clipboard

Feature : Support for Protobuf in udp and tcp logger for sending logs information

Open codifierr opened this issue 2 years ago • 3 comments

Description

The current udp and tcp logger support JSON as payload format. UDP logger: https://apisix.apache.org/docs/apisix/plugins/udp-logger/#metadata TCP logger: https://apisix.apache.org/docs/apisix/plugins/tcp-logger/#metadata

Example : "log_format": { "host": "$host", "@timestamp": "$time_iso8601", "client_ip": "$remote_addr" }

The request in this feature is to support protobuf for information transfer to a udp or tcp server. Protobuf format : https://github.com/protocolbuffers/protobuf

Advantages 1.) Efficiency: Protobuf is a binary serialization format that is designed for efficient encoding and decoding of data. 2.) Flexibility: Protobuf provides support for versioning and schema evolution, which allows for more flexibility in log data structures over time. 3.) Maintainability: Protobuf uses a schema definition language (IDL) to define the structure of log data, which provides a clear contract between log producers and consumers.

codifierr avatar Apr 17 '23 08:04 codifierr

sounds interesting. @codifierr are you interesting in this feature ? or raise a proposal for discuss

Sn0rt avatar Jul 25 '23 08:07 Sn0rt

sounds interesting. @codifierr are you interesting in this feature ? or raise a proposal for discuss

Yes. We want to use this for our use case.

codifierr avatar Jul 25 '23 08:07 codifierr

Any update on this request?

codifierr avatar May 29 '24 18:05 codifierr

This issue has been marked as stale due to 350 days of inactivity. It will be closed in 2 weeks if no further activity occurs. If this issue is still relevant, please simply write any comment. Even if closed, you can still revive the issue at any time or discuss it on the [email protected] list. Thank you for your contributions.

github-actions[bot] avatar May 15 '25 10:05 github-actions[bot]

This issue has been closed due to lack of activity. If you think that is incorrect, or the issue requires additional review, you can revive the issue at any time.

github-actions[bot] avatar May 30 '25 10:05 github-actions[bot]