Currently in our logs we can see the following API calls:
Status: 200, OK
Where 12345 is a unique ID for each call that we make. In some instances the API call will return an error as shown below:
Status: 500, One or more errors occurred.
We currently have some retry logic in our code that should retry the failed API calls within 5 minutes to 1 hour. I'm able to report on failed API calls by using the code below but I'm trying to find instances where the API call failed and there was no successful retry of that call within the next hour or so.
| parse "APIPATH/*\nStatus: *, *\n" as UniqueID, statuscode, statusmessage
| where statusCode != "200"
Any help would be greatly appreciated!
Please sign in to leave a comment.