Skip to content

Add FluentBit pipeline for Keycloak account events.#49

Draft
Sancus wants to merge 1 commit intomainfrom
keycloak-events-fluentbit
Draft

Add FluentBit pipeline for Keycloak account events.#49
Sancus wants to merge 1 commit intomainfrom
keycloak-events-fluentbit

Conversation

@Sancus
Copy link
Copy Markdown
Member

@Sancus Sancus commented Apr 10, 2026

Process Keycloak authentication events (logins, token introspections, registrations) received from the Accounts Celery worker and forward them to PostHog. Events arrive at /telemetry/keycloak and are processed by a Lua filter and then sent to the PostHog batch API.

Process Keycloak authentication events (logins, token introspections,
registrations) received from the Accounts Celery worker and forward
them to PostHog. Events arrive at /telemetry/keycloak and are processed
by a Lua filter and then sent to the PostHog batch API.
@Sancus Sancus requested a review from ryanjjung April 10, 2026 23:54
@Sancus
Copy link
Copy Markdown
Member Author

Sancus commented Apr 10, 2026

My understanding is that the VPC Peering needs to be done in a two step process?

@Sancus
Copy link
Copy Markdown
Member Author

Sancus commented Apr 12, 2026

Hmm. I'm not sure this is the correct approach. On further investigation, it doesn't seem like it's going to be possible for fluent-bit to enrich Stalwart-sourced events with keycloak uuids without adding additional connections to other resources.

If, instead, product analytics are routed through thunderbird-accounts and then directly to posthog, it's easy to enrich any submitted events with any data we want since acocunts has access to basically everything.

Given that, I'm not sure what value fluent-bit is providing to this pipeline.

@Sancus Sancus marked this pull request as draft April 12, 2026 03:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant