You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[DNS] Add info about getting account DNS analytics (#23426)
* Add intro sentence about account-level info available via API
* Add query examples and use cases under API section
* Separate zone and account limits in plans/index.json
* Make query examples open by default
* Use graphql code bolck and add graphql-api-explorer
When you use Cloudflare DNS, you can access data about DNS queries through a variety of sources.
12
12
@@ -18,6 +18,8 @@ DNS analytics allow you to evaluate data about DNS queries to your zone.
18
18
19
19
You can [use the dashboard](#view-on-the-dashboard) to get insights quickly based on a [predefined set of dimensions](#available-dimensions), or [use the API](#explore-with-the-api) to have access to all fields available in the GraphQL DNS analytics schemas.
20
20
21
+
When using GraphQL, you also have the option to get data for DNS queries across all zones within a given Cloudflare account.
22
+
21
23
### Availability and limits
22
24
23
25
<FeatureTableid="dns.dns_analytics" />
@@ -66,10 +68,60 @@ The DNS analytics has two [schemas](/analytics/graphql-api/getting-started/query
66
68
*`dnsAnalyticsAdaptive`: Retrieve information about individual DNS queries.
67
69
*`dnsAnalyticsAdaptiveGroups`: Get reports on aggregate information only.
68
70
71
+
To get account-level data, you can set up queries similar to the following:
72
+
73
+
<Detailsheader="Get the last 10,000 queries resulting in NXDOMAIN"open={true}>
0 commit comments