---
title: "Masking"
description: "Personal data and secrets are hidden from viewers on the server."
canonical_url: "https://docs.logstrace.dev/guides/teams/masking"
---
# Masking

> Personal data and secrets are hidden from viewers on the server.

Members and viewers see sensitive values masked. Admins and owners see everything.

<table>
<thead>
  <tr>
    <th>
      Found in text
    </th>
    
    <th>
      Shown as
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      IPv4 address <code>
        203.0.113.7
      </code>
    </td>
    
    <td>
      <code>
        •.•.•.•
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      IPv6 address
    </td>
    
    <td>
      <code>
        ••••:••••
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Email <code>
        ana@example.com
      </code>
    </td>
    
    <td>
      <code>
        ••••@••••
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      <code>
        Bearer <token>
      </code>
    </td>
    
    <td>
      <code>
        Bearer ••••
      </code>
    </td>
  </tr>
  
  <tr>
    <td>
      Keys like <code>
        sk_…
      </code>
      
      , <code>
        pk_…
      </code>
      
      , <code>
        rk_…
      </code>
      
      , <code>
        lgk_…
      </code>
      
      , <code>
        ghp_…
      </code>
      
      , <code>
        gho_…
      </code>
    </td>
    
    <td>
      <code>
        ••••
      </code>
    </td>
  </tr>
</tbody>
</table>

In `data`, these keys are fully masked whatever their value: `ip`, `ipv4`, `ipv6`, `email`, `phone`, `token`, `access_token`, `refresh_token`, `password`, `secret`, `authorization`, `api_key`.

## Where it applies

Everywhere: Logs, tables, search, column profiles, dashboards, CSV exports and the live stream.

Search and filters run **on the masked text** for people without access, so they can't find out which messages contain a given email or IP by searching for it.

## Columns stay in place

Masks never add or remove spaces, so a masked message still lines up with its table's columns.

<warning>

Masking is a safety net, not a vault. Admins see the values, and formats it doesn't recognise (names, addresses, card numbers) are not masked. Don't send data you wouldn't want an admin to read.

</warning>


## Sitemap

See the full [sitemap](https://docs.logstrace.dev/sitemap.md) for all pages.
