I’m trying to use the API to fetch all “Lock wait timeout events” events which occurred in the last 7, 30, and 120 days.
I’m using the following queries:
"Lock wait timeout exceeded event.timestamp:>=2016-11-29T21:14:28" # last 7 days
"Lock wait timeout exceeded event.timestamp:>=2016-11-06T21:14:28" # last 30 days
"Lock wait timeout exceeded event.timestamp:>=2016-08-08T21:14:30" # last 120 days
The results are getting weird. It seems like there’s a smaller amount of issues as I expand the time period.
Results:
"Lock wait timeout exceeded event.timestamp:>=2016-11-29T21:14:28"
Issues: 31
-----
"Lock wait timeout exceeded event.timestamp:>=2016-11-06T21:14:28"
Issues: 23
----
"Lock wait timeout exceeded event.timestamp:>=2016-08-08T21:14:30"
Issues: 23
I would expect that as the time period increases, the number of issues would increase. I would expect that issues with event occurrences >= 7 days ago would be a subset of the issues with event occurrences >= 30 days ago
Am I doing something wrong? Am I misinterpreting the event.timestamp parameter? Or perhaps parsing the API results incorrectly?