aws wafv2 get-sampled-requests
Gets detailed information about a specified number of requests--a sample--that WAF randomly selects from among the first 5,000 requests that your Amazon Web Services resource received during a time range that you choose. AWS CLI reference
5 options Its page in the AWS CLI reference
Options
--max-itemsThe number of requests that you want WAF to return from among the first 5,000 requests that your Amazon Web Services resource received during the time range.--rule-metric-nameThe metric name assigned to the Rule or RuleGroup dimension for which you want a sample of requests.--scopeSpecifies whether this is for a global resource type, such as a Amazon CloudFront distribution.--time-windowThe start date and time and the end date and time of the range for which you want GetSampledRequests to return a sample of requests.--web-acl-arnThe Amazon resource name (ARN) of the WebACL for which you want a sample of requests.