Make it possible for slow logs and cancelled queries to be redacted

Previously the redactor would only look at the input statement field and output to sql. However, with cancelled queries, the query field contains the cancelled query, while this field is blank for slow logs.

To fix this, now we output the slow log SQL into query by default and make it possible for the redactor to use a configurable input_key and output_key.

Edited by Stan Hu

Merge request reports

Loading