matomo-org / matomo-log-analytics

Import any kind of server logs in Matomo for powerful log analytics. Universal log file parsing and reporting.
https://matomo.org/log-analytics/
GNU General Public License v3.0
225 stars 118 forks source link

Exclude traffic by country or continent #255

Open ryrun opened 4 years ago

ryrun commented 4 years ago

We want to filter out traffic from china. We can use the ip filter in Matomo, but the ip ranges for china are huge. Matomo itself currently cant handle huge lists of ip adresses for excluding, atleast on our system. I think, we would have the same issue, when we add these ip addresses as parameter to the import script. Dont know what else we can do here. It would be nice, when this script could use GeoIP to determine the country / continent, so it can filter this visits out.

perariontaeadastra commented 4 years ago

yeah, this would be nice.