I am using j-Interop to fetch windows events. The problem I am facing is that it times out if there are too many events. Hence, I want to specify the offset and max in the query so that I can pull records in a batch. Is this possible and how?

Here is the query that I am using- Select * from Win32_NTLogEvent Where Logfile = 'Application'