Skip to main content

radar_traffic_anomalies_locations

Creates, updates, deletes, gets or lists a radar_traffic_anomalies_locations resource.

Overview

Nameradar_traffic_anomalies_locations
TypeResource
Idcloudflare.radar.radar_traffic_anomalies_locations

Fields

The following fields are returned by SELECT queries:

List of locations with number of traffic anomalies.

NameDatatypeDescription
clientCountryAlpha2string (example: PT)
clientCountryNamestring (example: Portugal)
valuestringA numeric string. (example: 10)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlimit, dateRange, dateStart, dateEnd, status, formatRetrieves 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.

NameDatatypeDescription
dateEndstring (date-time)End of the date range (inclusive).
dateRangestringFilters results by date range.
dateStartstring (date-time)Start of the date range (inclusive).
formatstringFormat in which results will be returned.
limitintegerLimits the number of objects returned in the response.
statusstring

SELECT examples

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 }}'
;