Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kinesis-firehose] Support simple_aggregation option to send multiple log events as a record #9279

Closed
kangaechu opened this issue Aug 26, 2024 · 2 comments
Labels

Comments

@kangaechu
Copy link
Contributor

I changed the Firehose plugin from firehose (aws/amazon-kinesis-firehose-for-fluent-bit) to kinesis_firehose (core plugin) in my project, which caused a sharp increase in billing.

image

Upon investigation, we found that the firehose plugin supports simple_aggregation, so it was sending multiple records as a single event.

"{\"DeliveryStreamName\":\"fluent-bit--test\",\"Records\":[{\"Data\":\"(records encoded by BASE64)\"}]}"

However, kinesis_firehose does not support simple_aggregation, so events are created for each record.

"{\"DeliveryStreamName\":\"fluent-bit--test\",\"Records\":[
{\"Data\":\"(a record encoded by BASE64)\"},
{\"Data\":\"(a record encoded by BASE64)\"},
{\"Data\":\"(a record encoded by BASE64)\"},
{\"Data\":\"(a record encoded by BASE64)\"},
{\"Data\":\"(a record encoded by BASE64)\"},
{\"Data\":\"(a record encoded by BASE64)\"},
{\"Data\":\"(a record encoded by BASE64)\"},
{\"Data\":\"(a record encoded by BASE64)\"},
{\"Data\":\"(a record encoded by BASE64)\"},
{\"Data\":\"(a record encoded by BASE64)\"}]}"

There were plans to implement simple_aggregation when the kinesis_firehose plugin was created, but as of August 2024, it has not yet been implemented.

aws/amazon-kinesis-firehose-for-fluent-bit#12 (comment)

Additional context

Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days. Maintainers can add the exempt-stale label.

@github-actions github-actions bot added the Stale label Nov 25, 2024
Copy link
Contributor

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants
@kangaechu and others