[Definition] # Count lots of requests from same IP regardless of status code. # Prefer X-Forwarded-For (client IP behind proxy), fallback to remote_addr. failregex = ^.*"x_forwarded_for":"".*"(GET|POST|HEAD)".*$ ^.*"remote_addr":"".*"(GET|POST|HEAD)".*$ # Ignore health and stub_status hits ignoreregex = ^.*"request_uri":"\/(?:stub_status|health\/system|health\/worker|pgadmin4(?:\/|$)|\.well-known\/acme-challenge\/|.*\.(?:css|js|png|jpg|jpeg|gif|svg|ico|webp|woff2?))".*$