How to determine (and block) IP addresses of scrapers / bots through CloudFlare on Discourse?

Do you have the rate limiting template included? Do you see the correct ip numbers on the logs (not the cloudflare ips)?