fluent / fluentd

Fluentd: Unified Logging Layer (project under CNCF)
https://www.fluentd.org
Apache License 2.0
12.83k stars 1.34k forks source link

in_http plugin: supporting http auth #3193

Open kenhys opened 3 years ago

kenhys commented 3 years ago

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

This feature request is derived from the Fluentd Mailing list question.

fluentd supports Basic Auth by http output plugin,

https://docs.fluentd.org/output/http#less-than-auth-greater-than-section

but it seems that http input plugin doesn't support Basic Auth. Because of this inconsistency, it can't send directly between two fluentd instances.

Describe the solution you'd like

Implement Basic Auth support in input http plugin side.

Describe alternatives you've considered

N/A

Or give up to use Basic Auth and use an alternative method (TLS encryption)

Additional context

N/A

a-b-v commented 3 years ago

Why do you use http between two fluentd instead of forward ?

kenhys commented 3 years ago

This issue is derived from google groups question:

http auth for in_http plugin https://groups.google.com/g/fluentd/c/5dsZR4NCUII/m/2DnKjDFjAwAJ

Practically, maybe in forward is good enough but for the record, I've created this issue.