I’m currently using the following code to retrieve audit logs from the server:
VideoOS.Platform.Log.LogClient.Instance.ReadLog(
MasterSite.FQID.ServerId,
i,
out _result,
out _names,
"Audit",
fromDate.ToUniversalTime(),
toDate.ToUniversalTime());
This returns all audit logs within the specified time range, but no additional filters seem to be applied.
In scenarios where there are a large number of logs, it’s very inefficient to retrieve everything and then filter by fields such as log type, source, user, or category on the client side.
Is there a way to apply filters (e.g., by user, source, or category) directly on the server side before fetching the logs?
Any suggestions or best practices would be appreciated.