API Query Shows Empty Result for System Log Search
Last Updated:
Overview
Searching for a particular log entry within the System Log generates a result while making the exact search via the API, which shows an empty result.
Applies To
- API Query
- System Log
Cause
Searches via the API default to 7 days. The duration of time needs to be defined.
Solution
The search would require a specified timeframe.
{{url}}/api/v1/logs?since=2024-01-26T00:00:00.000Z&filter=eventType eq "<searchparameter>".
