I am calling the Infoblox Security Events REST API (https://csp.infoblox.com/security-events/v1/security_events) from my virtual machine to fetch the Security Logs from Infoblox Portal, using the following query parameters: _limit, _offset, _order_by, start_time, end_time.
I am facing an issue where the API does not return consistent data across subsequent calls, even when the request parameters remain the same.
For Example, when I use:
_limit=25_offset increased by 25 for each request_order_by=timestamp desc- the same
start_time and end_time
I observe the following behavior:
- 1st page returns 25 events
- 2nd page returns 25 events
- 3rd page returns 30 events, even though _limit=25
Since the API does not return consistent records for any _limit, pagination appears inconsistent, making it difficult to reliably retrieve all security events.
Is there a recommended or alternative approach (for example, a different pagination or ordering strategy) to query the Security Logs from Infoblox portal and ensure consistent and complete data retrieval.