# Okta module causes rate-limit violations

**URL:** <https://discuss.elastic.co/t/okta-module-causes-rate-limit-violations/286721>\
**Category:** Beats\
**Tags:** filebeat\
**Created:** [October 14, 2021, 12:33pm UTC](https://discuss.elastic.co/t/okta-module-causes-rate-limit-violations/286721 "2021-10-14T12:33:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hinchliff](https://avatars.discourse-cdn.com/v4/letter/h/e274bd/32.png) [@hinchliff](https://discuss.elastic.co/u/hinchliff)\
**Post date:** [October 14, 2021, 12:33pm UTC](https://discuss.elastic.co/t/okta-module-causes-rate-limit-violations/286721/1 "2021-10-14T12:33:46Z")

</div>

In the GitHub issue [#23023](https://github.com/elastic/beats/issues/23023), a bug is fixed in the `httpjson` module that caused Filebeat to continue requesting data from Okta even after the rate-limit has been reached.

However, Okta continues to tag Filebeat behavior as rate-limit violations, as Okta apparently considers making the full limit of requests a "violation".

Filebeat only "waits" after it hits 0 remaining (which Okta calls a Violation) -- e.g. when Okta says there is "1 remaining", then Filebeat sends 1 more, and then Okta calls that a "Violation".

The Okta team has responded:

> Per my team here, the violation is expected as you are effectively hitting the violation threshold/limit. To prevent this, the recommendation would not be to wait until the 120 calls, but to set the threshold to 90% to prevent this from occurring in general.

On the ticket above, I ask about adding a new configuration option to configure Filebeat to back-off earlier then when remaining is zero. As that ticket is closed, a new ticket for this feature request is probably more appropriate. The contributing guidelines in the Beats repo suggests creating a discussion post (this) before creating new issues in GitHub.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 11, 2021, 2:34pm UTC](https://discuss.elastic.co/t/okta-module-causes-rate-limit-violations/286721/2 "2021-11-11T14:34:42Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
