Skip to main content

ips_top_ases

Creates, updates, deletes, gets or lists an ips_top_ases resource.

Overview

Nameips_top_ases
TypeResource
Idcloudflare.radar.ips_top_ases

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
anchorTsstring (date-time)
asnsarray
countrystring
metricstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectdate, limit, metric, country, formatReturns the top-N autonomous systems by announced IP space at the nearest 8-hour RIB boundary at or before the requested date. The snapped boundary is returned as anchor_ts.

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
countrystringOptional ISO 3166-1 alpha-2 country filter. Omit for global top-N.
datestring (date-time)Filters results by the specified datetime (ISO 8601).
formatstringFormat in which results will be returned.
limitintegerLimits the number of objects returned in the response.
metricstringRanking metric: IPv4 /24 count or IPv6 /48 count.

SELECT examples

Returns the top-N autonomous systems by announced IP space at the nearest 8-hour RIB boundary at or before the requested date. The snapped boundary is returned as anchor_ts.

SELECT
anchorTs,
asns,
country,
metric
FROM cloudflare.radar.ips_top_ases
WHERE date = '{{ date }}'
AND limit = '{{ limit }}'
AND metric = '{{ metric }}'
AND country = '{{ country }}'
AND format = '{{ format }}'
;