Pierre-Lannoy / wp-decalog

Capture and log events, metrics and traces on your site. Make WordPress observable - finally!
https://perfops.one/
GNU General Public License v3.0
64 stars 10 forks source link

HTTP logger for log collector/forwarder service (eg Vector or fluent bit) #58

Open mttfshr opened 8 months ago

mttfshr commented 8 months ago

Is your feature request related to a problem? Please describe. We are investigating using a vendor agnostic collector in our pipeline and would like to send events to a generic HTTP endpoint, since that seems to be a method that is widely supported by collectors like Vector, fluent bit, and Open Telemetry.

Describe the solution you'd like A new logger that specifies an HTTP:port endpoint, auth method (basic/bearer), and ideally a format choice (json/syslog/gelf/protobuf/avro).

Describe alternatives you've considered I'm not sure whether any of the existing loggers can be used for this purpose. The fluentd and syslogd loggers will send to a url:port.