Skip to main content

bgp_top_ases

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

Overview

Namebgp_top_ases
TypeResource
Idcloudflare.radar.bgp_top_ases

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
metaobject
top_0array

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlimit, name, dateRange, dateStart, dateEnd, asn, prefix, updateType, formatRetrieves the top autonomous systems by BGP updates (announcements only).

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
asnarrayFilters results by Autonomous System. Specify one or more Autonomous System Numbers (ASNs) as a comma-separated list. Prefix with - to exclude ASNs from results. For example, -174, 3356 excludes results from AS174, but includes results from AS3356.
dateEndarrayEnd of the date range (inclusive).
dateRangearrayFilters results by date range. For example, use 7d and 7dcontrol to compare this week with the previous week. Use this parameter or set specific start and end dates (dateStart and dateEnd parameters).
dateStartarrayStart of the date range.
formatstringFormat in which results will be returned.
limitintegerLimits the number of objects returned in the response.
namearrayArray of names used to label the series in the response.
prefixarrayFilters results by BGP network prefix.
updateTypearrayFilters results by BGP update type.

SELECT examples

Retrieves the top autonomous systems by BGP updates (announcements only).

SELECT
meta,
top_0
FROM cloudflare.radar.bgp_top_ases
WHERE limit = '{{ limit }}'
AND name = '{{ name }}'
AND dateRange = '{{ dateRange }}'
AND dateStart = '{{ dateStart }}'
AND dateEnd = '{{ dateEnd }}'
AND asn = '{{ asn }}'
AND prefix = '{{ prefix }}'
AND updateType = '{{ updateType }}'
AND format = '{{ format }}'
;