Skip to main content

routes_stats

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

Overview

Nameroutes_stats
TypeResource
Idcloudflare.radar.routes_stats

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
metaobject
statsobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectasn, location, formatRetrieves the BGP routing table stats.

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.
formatstringFormat in which results will be returned.
locationstringFilters results by location. Specify an alpha-2 location code.

SELECT examples

Retrieves the BGP routing table stats.

SELECT
meta,
stats
FROM cloudflare.radar.routes_stats
WHERE asn = '{{ asn }}'
AND location = '{{ location }}'
AND format = '{{ format }}'
;