Skip to content

Fix large event handling for Athena backend#63522

Merged
kshi36 merged 1 commit intomasterfrom
kevin/athenaevents-large
Feb 5, 2026
Merged

Fix large event handling for Athena backend#63522
kshi36 merged 1 commit intomasterfrom
kevin/athenaevents-large

Conversation

@kshi36
Copy link
Copy Markdown
Contributor

@kshi36 kshi36 commented Feb 4, 2026

Fixes #54480

This PR modifies the large event handling logic for Athena backends by attempting to send the trimmed event instead of returning an error on trim failure. This matches the logic for the DynamoDB PR.

Manual Tests

Tested via Teleport Cloud (Athena backend).

  • Verify that when an PostgreSQL audit event is created with size > 1 MiB, the event handler successfully forwards to Fluentd and continues to forward future audit events.

changelog: Fixed bug where event handler would throw an error on Athena backend when handling large events

@kshi36 kshi36 marked this pull request as ready for review February 4, 2026 23:28
@github-actions github-actions bot added audit-log Issues related to Teleports Audit Log size/sm labels Feb 4, 2026
@kshi36 kshi36 added this pull request to the merge queue Feb 5, 2026
Merged via the queue into master with commit 95b012a Feb 5, 2026
52 checks passed
@kshi36 kshi36 deleted the kevin/athenaevents-large branch February 5, 2026 18:26
@backport-bot-workflows
Copy link
Copy Markdown
Contributor

@kshi36 See the table below for backport results.

Branch Result
branch/v17 Failed
branch/v18 Failed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Postgres Statement Event Exceeding 1 MiB leads to error in event handler

3 participants