Sampling is used to enhance the Allowlist feature for the WAF traffic by exposing only a particular percentage of traffic for WAF. This section discusses how to set the Sampling of traffic in WAF Allowlist rules.

Sampling is beneficial if we want to send a subset of all traffic through WAF. The sampling_rateslider is used to allot a range for each Allowlist rule. The value for sampling_ratecan range from 0 to 100%.

If the request is in the sampling range, the configured action is applied to the request. For example, if sampling is set to 50%, every alternate request will trigger the action.