aws-lambda-extensions icon indicating copy to clipboard operation
aws-lambda-extensions copied to clipboard

Fluent Bit Lambda Extensions Example added

Open youngjeong46 opened this issue 4 years ago • 2 comments

Issue #, if available:

Description of changes:

Added extensions example for Fluent-Bit. Requesting Code Review.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

youngjeong46 avatar Apr 08 '21 01:04 youngjeong46

Thanks for this example.

Have you planned (or discussed with fluentbit maintainers) to develop directly a input plugin in fluentbit that implement the lambda logs API ?

r0mdau avatar Feb 19 '22 22:02 r0mdau

NOTE: For folks who find this and wonder why we abandoned it, it was because the extension tended to lose logs when the lambda function was invoked repeatedly with a very short runtime. It is possible that this solution can work well if you know that your function will always execute for at least 1 second.

@r0mdau We discussed building native support in FB but that would require a lot more work. It's very non-trivial.

PettitWesley avatar Apr 05 '22 16:04 PettitWesley

Closing based on submitter comments.

julianwood avatar Dec 14 '22 22:12 julianwood