Log Masking Rules

Log Masking Rules

Define regex-based masking for SQL query logs (requires the data privacy module).

Click Server Settings

Click Log Masking Rules

Rules are shown in a reorderable editable grid. Save or cancel when the grid is dirty.

Rule columns

ColumnDescription
Match ExpressionPattern to match in log text
ReplaceReplacement text
Global MatchApply globally vs first match
Case InsensitiveCase-insensitive matching
Mask QueryWhether to mask query text
Mask ErrorWhether to mask error text
DescriptionOptional description
SQL StatementsRelated SQL statements

Evaluate

Use Evaluate with a sample Search term to preview how rules mask text. Results appear in the evaluation grid.

Edit this page on GitHub Updated at Sat, Sep 12, 2026