traffic_anomalies
Creates, updates, deletes, gets or lists a traffic_anomalies resource.
Overview
| Name | traffic_anomalies |
| Type | Resource |
| Id | cloudflare.radar.traffic_anomalies |
Fields
The following fields are returned by SELECT queries:
- list
List of Internet traffic anomalies.
| Name | Datatype | Description |
|---|---|---|
asnDetails | object | |
endDate | string (date-time) | |
locationDetails | object | |
originDetails | object | |
startDate | string | |
status | string | |
type | string | |
uuid | string | |
visibleInDataSources | array |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | limit, offset, dateRange, dateStart, dateEnd, status, type, asn, location, origin, format | Retrieves the latest Internet traffic anomalies, which are signals that might indicate an outage. These alerts are 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 |
|---|---|---|
asn | integer | Filters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer. |
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. |
location | string | Filters results by location. Specify an alpha-2 location code. |
offset | integer | Skips the specified number of objects before fetching the results. |
origin | string | Filters results by origin. |
status | string | |
type | array | Filters results by entity type (LOCATION, AS, or ORIGIN). |
SELECT examples
- list
Retrieves the latest Internet traffic anomalies, which are signals that might indicate an outage. These alerts are automatically detected by Radar and manually verified by our team.
SELECT
asnDetails,
endDate,
locationDetails,
originDetails,
startDate,
status,
type,
uuid,
visibleInDataSources
FROM cloudflare.radar.traffic_anomalies
WHERE limit = '{{ limit }}'
AND offset = '{{ offset }}'
AND dateRange = '{{ dateRange }}'
AND dateStart = '{{ dateStart }}'
AND dateEnd = '{{ dateEnd }}'
AND status = '{{ status }}'
AND type = '{{ type }}'
AND asn = '{{ asn }}'
AND location = '{{ location }}'
AND origin = '{{ origin }}'
AND format = '{{ format }}'
;