How do I construct an RQL statement that will count errors by, say, day. This gets the number of errors over a seven day period, but how do I count per day?
SELECT count(*)
FROM item_occurrence
WHERE timestamp > unix_timestamp() - 60 * 60 * 24 * 7
LIMIT 1000
Does this get you what you are after?