Add custom event streaming integrations #645

Open
opened 2025-11-20 05:15:16 -05:00 by saavagebueno · 4 comments
Owner

Originally created by @dacbd on GitHub (Feb 19, 2024).

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I want to persist my own copy of Netbird's event logs and trigger separate actions based on certain Netbird events.

Describe the solution you'd like
A clear and concise description of what you want to happen.

I would like to configure an https endpoint which events are pushed to.
ex: netbird.webhook.my_domain.com would be a service hosted by myself to receive these events.
Some minimal security points:

  • my service responds with a header: netbird-verify: <some uuid type token> for netbird to validate my domain/endpoint
  • netbird includes some header netbird-signature, so my service can validate content.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Currently, I have a periodic job that:

  • polls the events API endpoint
  • triggers any required action based on events since the last run
  • loads previous event logs stored in S3
  • reconciles new events with old logs
  • saves updated logs to S3

Alternatively, an AWS CloudWatch Logs integration that logs events. (at the current time i'd prefer the custom endpoint)

Additional context
Add any other context or screenshots about the feature request here.

Slack thread

Originally created by @dacbd on GitHub (Feb 19, 2024). > **Is your feature request related to a problem? Please describe.** > A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] I want to persist my own copy of Netbird's event logs and trigger separate actions based on certain Netbird events. - [Event Streaming Intergrations](https://app.netbird.io/integrations?tab=event-streaming) - [Events API endpoint](https://docs.netbird.io/api/resources/events) > **Describe the solution you'd like** > A clear and concise description of what you want to happen. I would like to configure an https endpoint which events are pushed to. ex: `netbird.webhook.my_domain.com` would be a service hosted by myself to receive these events. Some minimal security points: - my service responds with a header: `netbird-verify: <some uuid type token>` for netbird to validate my domain/endpoint - netbird includes some header `netbird-signature`, so my service can validate content. > **Describe alternatives you've considered** > A clear and concise description of any alternative solutions or features you've considered. Currently, I have a periodic job that: - polls the events API endpoint - triggers any required action based on events since the last run - loads previous event logs stored in S3 - reconciles new events with old logs - saves updated logs to S3 Alternatively, an AWS CloudWatch Logs integration that logs events. (at the current time i'd prefer the custom endpoint) > **Additional context** > Add any other context or screenshots about the feature request here. [Slack thread](https://netbirdio.slack.com/archives/C02KHAE8VLZ/p1707946100070879)
Author
Owner

@dacbd commented on GitHub (Mar 13, 2024):

@lixmal / netbird team, I'm curious if you have a roadmap estimate for this feature.

@dacbd commented on GitHub (Mar 13, 2024): @lixmal / netbird team, I'm curious if you have a roadmap estimate for this feature.
Author
Owner

@nazarewk commented on GitHub (Apr 18, 2025):

@dacbd seems closely related to https://github.com/netbirdio/netbird/issues/3591 , can we close this one as a duplicate?

@nazarewk commented on GitHub (Apr 18, 2025): @dacbd seems closely related to https://github.com/netbirdio/netbird/issues/3591 , can we close this one as a duplicate?
Author
Owner

@dacbd commented on GitHub (Apr 18, 2025):

I'm not sure I would call this a duplicate, based on the linked issue I
would not close this unless a plugin was developed which users could
configure to send logs and events to their own webhook. Which Is mainly
what my original issue was about, being able to configure a webhook which
netbird would post to for events and logs.

On Fri, Apr 18, 2025, 23:53 Krzysztof Nazarewski (kdn) <
@.***> wrote:

@dacbd https://github.com/dacbd seems closely related to #3591
https://github.com/netbirdio/netbird/issues/3591 , can we close this
one as a duplicate?


Reply to this email directly, view it on GitHub
https://github.com/netbirdio/netbird/issues/1596#issuecomment-2815592393,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIN7M7NYLX4DYAXBFVXFST22EGXLAVCNFSM6AAAAAB3NFWL62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJVGU4TEMZZGM
.
You are receiving this because you were mentioned.Message ID:
@.***>
nazarewk left a comment (netbirdio/netbird#1596)
https://github.com/netbirdio/netbird/issues/1596#issuecomment-2815592393

@dacbd https://github.com/dacbd seems closely related to #3591
https://github.com/netbirdio/netbird/issues/3591 , can we close this
one as a duplicate?


Reply to this email directly, view it on GitHub
https://github.com/netbirdio/netbird/issues/1596#issuecomment-2815592393,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIN7M7NYLX4DYAXBFVXFST22EGXLAVCNFSM6AAAAAB3NFWL62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJVGU4TEMZZGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@dacbd commented on GitHub (Apr 18, 2025): I'm not sure I would call this a duplicate, based on the linked issue I would not close this unless a plugin was developed which users could configure to send logs and events to their own webhook. Which Is mainly what my original issue was about, being able to configure a webhook which netbird would post to for events and logs. On Fri, Apr 18, 2025, 23:53 Krzysztof Nazarewski (kdn) < ***@***.***> wrote: > @dacbd <https://github.com/dacbd> seems closely related to #3591 > <https://github.com/netbirdio/netbird/issues/3591> , can we close this > one as a duplicate? > > — > Reply to this email directly, view it on GitHub > <https://github.com/netbirdio/netbird/issues/1596#issuecomment-2815592393>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAIN7M7NYLX4DYAXBFVXFST22EGXLAVCNFSM6AAAAAB3NFWL62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJVGU4TEMZZGM> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> > *nazarewk* left a comment (netbirdio/netbird#1596) > <https://github.com/netbirdio/netbird/issues/1596#issuecomment-2815592393> > > @dacbd <https://github.com/dacbd> seems closely related to #3591 > <https://github.com/netbirdio/netbird/issues/3591> , can we close this > one as a duplicate? > > — > Reply to this email directly, view it on GitHub > <https://github.com/netbirdio/netbird/issues/1596#issuecomment-2815592393>, > or unsubscribe > <https://github.com/notifications/unsubscribe-auth/AAIN7M7NYLX4DYAXBFVXFST22EGXLAVCNFSM6AAAAAB3NFWL62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJVGU4TEMZZGM> > . > You are receiving this because you were mentioned.Message ID: > ***@***.***> >
Author
Owner

@dacbd commented on GitHub (Apr 18, 2025):

I'll add I'm no longer using netbird personally/no longer at the company
which was using it, so if you feel it is a duplicate or close enough to one
that has a plan for implementation then go ahead and consolidate the isses

On Sat, Apr 19, 2025, 12:34 Daniel Barnes @.***> wrote:

I'm not sure I would call this a duplicate, based on the linked issue I
would not close this unless a plugin was developed which users could
configure to send logs and events to their own webhook. Which Is mainly
what my original issue was about, being able to configure a webhook which
netbird would post to for events and logs.

On Fri, Apr 18, 2025, 23:53 Krzysztof Nazarewski (kdn) <
@.***> wrote:

@dacbd https://github.com/dacbd seems closely related to #3591
https://github.com/netbirdio/netbird/issues/3591 , can we close this
one as a duplicate?


Reply to this email directly, view it on GitHub
https://github.com/netbirdio/netbird/issues/1596#issuecomment-2815592393,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIN7M7NYLX4DYAXBFVXFST22EGXLAVCNFSM6AAAAAB3NFWL62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJVGU4TEMZZGM
.
You are receiving this because you were mentioned.Message ID:
@.***>
nazarewk left a comment (netbirdio/netbird#1596)
https://github.com/netbirdio/netbird/issues/1596#issuecomment-2815592393

@dacbd https://github.com/dacbd seems closely related to #3591
https://github.com/netbirdio/netbird/issues/3591 , can we close this
one as a duplicate?


Reply to this email directly, view it on GitHub
https://github.com/netbirdio/netbird/issues/1596#issuecomment-2815592393,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIN7M7NYLX4DYAXBFVXFST22EGXLAVCNFSM6AAAAAB3NFWL62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJVGU4TEMZZGM
.
You are receiving this because you were mentioned.Message ID:
@.***>

@dacbd commented on GitHub (Apr 18, 2025): I'll add I'm no longer using netbird personally/no longer at the company which was using it, so if you feel it is a duplicate or close enough to one that has a plan for implementation then go ahead and consolidate the isses On Sat, Apr 19, 2025, 12:34 Daniel Barnes ***@***.***> wrote: > I'm not sure I would call this a duplicate, based on the linked issue I > would not close this unless a plugin was developed which users could > configure to send logs and events to their own webhook. Which Is mainly > what my original issue was about, being able to configure a webhook which > netbird would post to for events and logs. > > On Fri, Apr 18, 2025, 23:53 Krzysztof Nazarewski (kdn) < > ***@***.***> wrote: > >> @dacbd <https://github.com/dacbd> seems closely related to #3591 >> <https://github.com/netbirdio/netbird/issues/3591> , can we close this >> one as a duplicate? >> >> — >> Reply to this email directly, view it on GitHub >> <https://github.com/netbirdio/netbird/issues/1596#issuecomment-2815592393>, >> or unsubscribe >> <https://github.com/notifications/unsubscribe-auth/AAIN7M7NYLX4DYAXBFVXFST22EGXLAVCNFSM6AAAAAB3NFWL62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJVGU4TEMZZGM> >> . >> You are receiving this because you were mentioned.Message ID: >> ***@***.***> >> *nazarewk* left a comment (netbirdio/netbird#1596) >> <https://github.com/netbirdio/netbird/issues/1596#issuecomment-2815592393> >> >> @dacbd <https://github.com/dacbd> seems closely related to #3591 >> <https://github.com/netbirdio/netbird/issues/3591> , can we close this >> one as a duplicate? >> >> — >> Reply to this email directly, view it on GitHub >> <https://github.com/netbirdio/netbird/issues/1596#issuecomment-2815592393>, >> or unsubscribe >> <https://github.com/notifications/unsubscribe-auth/AAIN7M7NYLX4DYAXBFVXFST22EGXLAVCNFSM6AAAAAB3NFWL62VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDQMJVGU4TEMZZGM> >> . >> You are receiving this because you were mentioned.Message ID: >> ***@***.***> >> >
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#645