Mask fields in a MongoDB export

A support reproduction often needs the shape of an order and the ability to correlate two records. It rarely needs the original email address. Choose the fields to include before the file leaves the desktop.

Choose the rows to export

Run the intended filter, sort and projection, then open Export query results. The default scope is all matches from the last successful query. Displayed rows captures the current grid page with its local Find and staged values. Entire collection includes all documents and fields before masking.

In the export walkthrough fixture those choices produced 31 matching documents, 25 displayed rows and 36 total documents. Open the scope selector before preparing a file for someone else.

Build a field allowlist

  1. Turn on Mask fields. Keep only fields needed to reproduce the issue. Leave unneeded values unchecked. For a nested object, choose the individual child fields required.
  2. Choose Redact for an included sensitive value that can be replaced with [redacted]. Choose Alias for an identifier that needs to match across rows in this export.
  3. Inspect the preview. Equal identifiers produce the same alias within one export; another export generates fresh aliases. New unselected fields encountered after the preview are omitted.
Export field rules and the corresponding masked JSON preview
Compare each selected field with the output preview before saving.

Verify the file before sharing

Choose a local destination, export and open the resulting file. Check the header or field paths, record count, redactions and repeated aliases. Check a record beyond the first preview rows. A kept free-text field can still contain identifying information.

For a repeatable support export, save the rules with an export job. Each run produces a new file, run receipt and fresh aliases.