bitwarden / bitwarden/splunk

Fix ingestion throttling error

Open
#147 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
19
Forks
9
PR merge metrics
No merged PRs in 30d

Description

We have an issue with a client that wants to ingests Bitwarden logs, however since a few months now, we are unable to ingest the logs because at every iteration of the input script, we get the error below :

```
2025-12-12 07:56:09,535 log_level=ERROR pid=1878971 tid=MainThread file=bitwarden_event_logs.py:main:62 | 429 Client Error: Unknown Error for url: https://vault.bitwarden.eu/api/public/events?start=2025-11-25+08%3A42%3A33.256538%2B00%3A00&end=2025-11-26+07%3A35%3A56.132339%2B00%3A00&continuationToken=
```

I saw that we have a limitation of 400 API calls during one minute and after that we get this error.
A solution would be to use the values inside the header values (x-rate-limit-remaining, x-rate-limit-reset) and optimize the way the api calls are made when lots of data need to be retrieved.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.