Jun-12-2018, 01:38 PM
Greetings to all,
The first thing is to thank you for spending your time reading to me.
I'm developing a script in Python that connects to the Azure Log Analytics REST API. The operation is based on extracting a query or more from a file and making the request to the API.
So far so good, but the problem arises when the query generates a response that exceeds the limits of the rows (Queries cannot return more than 500000 rows, https://dev.loganalytics.io/documentation/overview).
I asked Log Analytics support, but they're redirecting me to the Python forum. After we present the case, comes the question:
How can I page all the results when I exceed the query limit? If the query generates for example 500100 rows (example), how could I access them?
Thank you in advance.
SitoRBJ
The first thing is to thank you for spending your time reading to me.
I'm developing a script in Python that connects to the Azure Log Analytics REST API. The operation is based on extracting a query or more from a file and making the request to the API.
So far so good, but the problem arises when the query generates a response that exceeds the limits of the rows (Queries cannot return more than 500000 rows, https://dev.loganalytics.io/documentation/overview).
I asked Log Analytics support, but they're redirecting me to the Python forum. After we present the case, comes the question:
How can I page all the results when I exceed the query limit? If the query generates for example 500100 rows (example), how could I access them?
Thank you in advance.
SitoRBJ