umami
umami copied to clipboard
Ability to filter local addresses out
Describe the feature or enhancement
Can you add some sort of filter to exclude certain IP addresses or ranges from the stats? I'm thinking about all local IP ranges. At the moment they get recognised as UNKNOWN, but still count in the visitor and hit totals, having them excluded would just show real visitors.
There's a runtime environment variable you could use
IGNORE_IP = a comma-delimited list of IP addresses or ranges
For example IGNORE_IP = 10.0.1.0/24,192.168.1.200
Ranges are not mentioned in the docs (https://umami.is/docs/environment-variables) but they are supported.