radar_traffic_anomalies_locations
Creates, updates, deletes, gets or lists a radar_traffic_anomalies_locations resource.
Overview
| Name | radar_traffic_anomalies_locations |
| Type | Resource |
| Id | cloudflare.radar.radar_traffic_anomalies_locations |
Fields
The following fields are returned by SELECT queries:
- list
List of locations with number of traffic anomalies.
| Name | Datatype | Description |
|---|---|---|
clientCountryAlpha2 | string | (example: PT) |
clientCountryName | string | (example: Portugal) |
value | string | A numeric string. (example: 10) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | limit, dateRange, dateStart, dateEnd, status, format | Retrieves the sum of Internet traffic anomalies, grouped by location. These anomalies are signals that might indicate an outage, automatically detected by Radar and manually verified by our team. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
dateEnd | string (date-time) | End of the date range (inclusive). |
dateRange | string | Filters results by date range. |
dateStart | string (date-time) | Start of the date range (inclusive). |
format | string | Format in which results will be returned. |
limit | integer | Limits the number of objects returned in the response. |
status | string |
SELECT examples
- list
Retrieves the sum of Internet traffic anomalies, grouped by location. These anomalies are signals that might indicate an outage, automatically detected by Radar and manually verified by our team.
SELECT
clientCountryAlpha2,
clientCountryName,
value
FROM cloudflare.radar.radar_traffic_anomalies_locations
WHERE limit = '{{ limit }}'
AND dateRange = '{{ dateRange }}'
AND dateStart = '{{ dateStart }}'
AND dateEnd = '{{ dateEnd }}'
AND status = '{{ status }}'
AND format = '{{ format }}'
;