[GH-ISSUE #5115] Error in the API /api/resources/events #10740

Closed
opened 2026-08-05 01:27:07 -04:00 by saavagebueno · 1 comment
Owner

Originally created by @bravosierrasierra on GitHub (Jan 16, 2026).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/5115

Describe the problem

I am working on updating our management from version 0.43 to 0.62.3 on my standalone server and noticed that events created via the API (https://docs.netbird.io/api/resources/events) are no longer being exported. Only events made through the web interface are being exported. Web interface contains all events source on Activity -> Audit Events. How can this be fixed?

I have a small script running that exports all events to logs in a centralized logging system to allow for auditing outside the system. I have attached it as an example: event-logger.py.

To Reproduce

Steps to reproduce the behavior:

  1. Create a new network via the web interface, for example, test-auto.
  2. Delete this network via the web interface Networks -> "test-auto" -> Delete.
  3. Create this network via the API https://docs.netbird.io/api/resources/networks#create-a-network.
  4. Delete this network via the API call https://docs.netbird.io/api/resources/networks#delete-a-network.
  5. Go to Activity -> Audit Events in the web interface and ensure you see 4 new events: 2 creations and 2 deletions.
  6. Retrieve events via the API https://docs.netbird.io/api/resources/events and ensure only the events from steps 1 and 2 are visible, while the events from steps 3 and 4 are not exported.

Expected behavior

All events type should be exported via /api/resources/events, not only events from web dashboard activity

Are you using NetBird Cloud?

I'm use self-host NetBird's control plane.

NetBird version

upgrade from 0.43 to 0.62.3

Is any other VPN software installed?

No. This is a server problem

Originally created by @bravosierrasierra on GitHub (Jan 16, 2026). Original GitHub issue: https://github.com/netbirdio/netbird/issues/5115 **Describe the problem** I am working on updating our management from version 0.43 to 0.62.3 on my standalone server and noticed that events created via the API (https://docs.netbird.io/api/resources/events) are no longer being exported. Only events made through the web interface are being exported. Web interface contains all events source on Activity -> Audit Events. How can this be fixed? I have a small script running that exports all events to logs in a centralized logging system to allow for auditing outside the system. I have attached it as an example: [event-logger.py](https://github.com/user-attachments/files/24669960/event-logger.py). **To Reproduce** Steps to reproduce the behavior: 1. Create a new network via the web interface, for example, test-auto. 2. Delete this network via the web interface Networks -> "test-auto" -> Delete. 3. Create this network via the API https://docs.netbird.io/api/resources/networks#create-a-network. 4. Delete this network via the API call https://docs.netbird.io/api/resources/networks#delete-a-network. 5. Go to Activity -> Audit Events in the web interface and ensure you see 4 new events: 2 creations and 2 deletions. 6. Retrieve events via the API https://docs.netbird.io/api/resources/events and ensure only the events from steps 1 and 2 are visible, while the events from steps 3 and 4 are not exported. **Expected behavior** All events type should be exported via /api/resources/events, not only events from web dashboard activity **Are you using NetBird Cloud?** I'm use self-host NetBird's control plane. **NetBird version** upgrade from 0.43 to 0.62.3 **Is any other VPN software installed?** No. This is a server problem
saavagebueno added the triage-needed label 2026-08-05 01:27:07 -04:00
Author
Owner

@bravosierrasierra commented on GitHub (Jan 21, 2026):

fixed in 0.63

<!-- gh-comment-id:3777652748 --> @bravosierrasierra commented on GitHub (Jan 21, 2026): fixed in 0.63
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#10740