In Neo we're introducing a system event log to record events that happen across the cluster, see the parent MB, https://issues.couchbase.com/browse/MB-46215 for more details.
For Query we need to capture the following events.
|Query Service Events||Additional Details Needed|
|Query Engine Crash||Name of process that crashed
PID of crashed process
|Query Service Config Change||Previous Setting and New Setting|
|Per Query Memory Threshold Reached||Hash of the query|