Skip to main content

traffic_anomalies

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

Overview

Nametraffic_anomalies
TypeResource
Idcloudflare.radar.traffic_anomalies

Fields

The following fields are returned by SELECT queries:

List of Internet traffic anomalies.

NameDatatypeDescription
asnDetailsobject
endDatestring (date-time)
locationDetailsobject
originDetailsobject
startDatestring
statusstring
typestring
uuidstring
visibleInDataSourcesarray

Methods

The following methods are available for this resource:

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

NameDatatypeDescription
asnintegerFilters results by Autonomous System. Specify a single Autonomous System Number (ASN) as integer.
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.
locationstringFilters results by location. Specify an alpha-2 location code.
offsetintegerSkips the specified number of objects before fetching the results.
originstringFilters results by origin.
statusstring
typearrayFilters results by entity type (LOCATION, AS, or ORIGIN).

SELECT examples

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