Configure headers
An app’s session data can be filtered by configuring keys in an allowlist. This allowlist system will filter out all the session data keys not in this list. All headers that are filtered out by these systems are not collected, neither the header name or value.📖 Read our guide about setting up request header collection and
filtering for your app.
Filter all request headers
To filter all request headers without individual header filtering, configure the allowlist to an empty list in the integration configuration. Without any header names in the list, it will not collect any request headers.- Ruby
request_headersconfig option documentation - Elixir
request_headersconfig option documentation - Node.js
requestHeadersconfig option documentation - Python
request_headersconfig option documentation - Go
request_headersconfig option documentation - PHP
request_headersconfig option documentation
Recommended headers to filter
A non-exhaustive list of request header names that may be used by an application. Do not include these headers, and those like it, in the integrations “request headers” allowlist unless absolutely necessary.- Any personal identifiable headers:
- IP Addresses
Forwarded
- Browser type and versions headers
User-Agent- Referrer
Referer
- Passwords and tokens
AuthorizationProxy-Authorization- Any custom API token headers.
- IP Addresses
See also
- Data filtering guide - Filter app data in AppSignal integrations