Skip to content

Commit f543c10

Browse files
authored
feat(inbound-filters): Clarify IP address inbound filters (#12851)
1 parent 95a471f commit f543c10

File tree

1 file changed

+12
-0
lines changed
  • docs/concepts/data-management/filtering

1 file changed

+12
-0
lines changed

docs/concepts/data-management/filtering/index.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,18 @@ Some browser extensions are known to cause errors. You can filter these out usin
4141

4242
Due to their nature, web crawlers often encounter errors that normal users won't see. You can use the web crawler filter to filter out errors from web crawlers, determined by the event's user-agent, from the following sites: Baidu, Yahoo, Sogou, Facebook, Alexa, Slack, Google Indexing, Pingdom, Lytics, AWS Security Scanner, Hubspot, Bytedance, and other generic bots and spiders. Errors from Slack's Slackbot web crawler will not be filtered.
4343

44+
### IP Addresses
45+
46+
Filters events based on the **originating IP address of the client making the request**, not the user IP contained within the user data inside the request. This ensures that filtering decisions rely on the actual source of the request, as determined by network-level information, rather than data provided in the event payload.
47+
48+
Sentry attempts to identify the request’s origin using the **forwarded IP address**. If no forwarded IP is available, it falls back to the **direct IP** of the client connecting to Sentry’s servers.
49+
50+
The supported IP address formats are:
51+
- **IPv4 Addresses**: Standard dotted-decimal notation (e.g., 1.2.3.4, 122.33.230.14, 127.0.0.1).
52+
- **IPv6 Addresses**: Standard colon-separated hexadecimal notation (e.g., aaaa:bbbb::cccc, a:b:c::1).
53+
- **IPv4 Network Ranges (CIDR Notation)**: IPv4 address with a subnet mask (e.g., 122.33.230.0/30, 127.0.0.0/8).
54+
- **IPv6 Network Ranges (CIDR Notation)**: IPv6 address with a subnet mask (e.g., a:b:c::0/126).
55+
4456
### Transactions Coming from Health Check
4557

4658
In essence, the health check filter serves the purpose of excluding transactions that are generated as a part of health check procedures.

0 commit comments

Comments
 (0)