fluent / fluent-bit

Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows
https://fluentbit.io
Apache License 2.0
5.73k stars 1.56k forks source link

Allow you to specify the port when working with the kinesis plugin. #9160

Open azalio opened 1 month ago

azalio commented 1 month ago

Fluentbit has a Kinesis output plugin.

However, in the Fluentbit code, the port 443 is directly specified.

My cloud provider, which is not AWS, supports the Kinesis protocol, but the endpoint uses port 8443. Unfortunately, I cannot specify the port number in the Fluent Bit configuration for the Kinesis plugin, so I am unable to use Fluentbit in this scenario. Could you please allow me to configure the port number for the Kinesis plugin?

Describe the solution you'd like

[OUTPUT]
    Name kinesis_streams
    ...
    stream          /topic
    endpoint      https://some-endpoint
    port              8443
Athishpranav2003 commented 1 month ago

Hey guys I guess i can work on this quick, Will create PR soon for the same

Athishpranav2003 commented 1 month ago

@azalio I have created the PR and it compiles successfully I need your help in testing Can you test the code using the PR?