An open API service indexing awesome lists of open source software.

https://github.com/dacbd/poc-netbird-cron

extract netbird log events
https://github.com/dacbd/poc-netbird-cron

Last synced: about 1 year ago
JSON representation

extract netbird log events

Awesome Lists containing this project

README

          

# poc-netbird-cron
extract netbird log events

[Netbird events api](https://docs.netbird.io/api/resources/events)

[Service Users/tokens](https://app.netbird.io/team/service-users)

- queries the netbird api for events (gets the last 10k)
- ensures events are sorted by date
- checks s3 log bucket for events that have been saved already
- merges new and old events
- saves events to log bucket

## Usage

```bash
export NETBIRD_API_TOKEN="some bot users token"
# + AWS credentials
cargo run
```