fluent-bit icon indicating copy to clipboard operation
fluent-bit copied to clipboard

windows: enabled Kinesis Firehose, Kinesis Stream, and AWS Filter

Open rawahars opened this issue 2 years ago • 1 comments

Summary

Currently, Windows release artifacts do not include the following-

  • Kinesis Firehose output plugin
  • Kinesis Streams output plugin
  • AWS Filter

In this change, we are making the required changes to enable support for the same.

The changes for the same include-

  • Changing the struct name for Kinesis Firehose plugin so that the build can succeed (error C2011: 'event': 'struct' type redefinition)
  • Addition of FLB_OUT_KINESIS_STREAMS to the Windows cmake file
  • Adding of FLB_FILTER_AWS to the Windows cmake file

Enter [N/A] in the box, if an item is not applicable to your change.

Testing Before we can approve your change; please submit the following in a comment:

  • [ ] Example configuration file for the change
  • [ ] Debug log output from testing the change
  • [ ] Attached Valgrind output that shows no leaks or memory corruption was found

If this is a change to packaging of containers or native binaries then please confirm it works for all targets.

  • [ ] Attached local packaging test output showing all targets (including any new ones) build.

Documentation

  • [N/A] Documentation required for this feature

Backporting

  • [N/A] Backport to latest stable release.

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

rawahars avatar Aug 03 '22 09:08 rawahars

Tested out all three plugins for Windows using the configuration mentioned in the official documentation.

  • https://docs.fluentbit.io/manual/pipeline/filters/aws-metadata
  • https://docs.fluentbit.io/manual/pipeline/outputs/firehose
  • https://docs.fluentbit.io/manual/pipeline/outputs/kinesis

rawahars avatar Aug 03 '22 09:08 rawahars