Get Simple Event Statistics
Retrieves event statistics per given dimension of a request characteristics. A WAAP Event represents a request observed by the system. The report contains the total, blocked, suppressed, and allowed event counts for top ten points in the selected dimension.
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/waap/v1/analytics/stats/{dimension}
- AuthHTTP apikey
Path parameters
A request characteristics dimension
Query parameters
List of domain IDs. Empty list means all domains belonging to the current account.
[ 1, 2, 3 ]
Ordering applied to the ranked points within the dimension. total.desc ranks by total event count descending; threats.desc ranks by threat (blocked and monitored) event count descending.
Filter data items starting from a specified date in ISO 8601 format
Filter data items up to a specified end date in ISO 8601 format. If not provided, defaults to the current date and time.
Filter statistics by client IP addresses (max 10).
[ "1.2.3.4", "2001:678:194::3c25:ddad" ]
Filter data by name of a security rule matched the request.
[ "SQL injection" ]
Response
Successful Response
Example response
{
"total": [
[
"1.2.3.4",
100000
],
[
"5.6.7.8",
80000
]
],
"blocked": [
[
"1.2.3.4",
2000
],
[
"5.6.7.8",
1000
]
],
"suppressed": [
[
"1.2.3.4",
1500
],
[
"5.6.7.8",
1100
]
],
"allowed": [
[
"1.2.3.4",
1000
],
[
"5.6.7.8",
900
]
],
"reference": {
"1.2.3.4": {
"country": "SG",
"org": "Singapore Networks"
}
}
}