Hi Jonathan,
Thanks for trying the script. I am not sure if I understand all of it.
But the cause of this turned out to be a problem with the logfilter, just as in the other question you answered:
Machines property in Query Logs filter
The filter:
"{'server': ['*'], 'services': ['*']"
resulted in leaving out log messages caused by mapservices, e.g. "Baselayers.MapServer", it looks like it only returned log messages from Soap or Rest.
I am somehow suspicious that the wildcard doesn't work when there is a dot in the item to be filtered, like "Baselayers.MapServer" or <servername>.<domain>.local or whatever.
I decided to leave out the filtering at all, and if needed let the script do the filtering.