Skip to content

Commit 1900f25

Browse files
[DNS Firewall] GraphQL Analytics (#21931)
* Add sections for Analytics vs Logs and add info for GraphQL * Adjust messaging around API (legacy) option * Attempt to use APIRequest component * Revert "Attempt to use APIRequest component" This reverts commit 41f048c.
1 parent 88a1410 commit 1900f25

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

src/content/docs/dns/dns-firewall/analytics.mdx

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,36 @@
11
---
22
pcx_content_type: navigation
3-
title: Analytics
3+
title: Analytics and logs
44
sidebar:
55
order: 3
66

77
---
88

9-
To access analytics for your DNS Firewall, use the [Cloudflare API](/api/resources/dns_firewall/subresources/analytics/subresources/reports/methods/get/).
9+
import { Badge } from "~/components";
1010

11-
Alternatively, [set up Logpush](/logs/about/) to deliver [DNS Firewall logs](/logs/reference/log-fields/account/dns_firewall_logs/) to a storage service, SIEM, or log management provider.
11+
Consider the sections below to learn how to access analytics and logs for your DNS Firewall.
1212

13-
## Response reasons
13+
## Analytics
14+
15+
### GraphQL
16+
17+
Use the [GraphQL API](/analytics/graphql-api/) to access DNS Firewall analytics. Refer to the GraphQL Analytics API documentation for guidance on how to [get started](/analytics/graphql-api/getting-started/).
18+
19+
The DNS Firewall analytics has two [schemas](/analytics/graphql-api/getting-started/querying-basics/):
20+
21+
* `dnsFirewallAnalyticsAdaptive`: Retrieve information about individual DNS Firewall queries.
22+
* `dnsFirewallAnalyticsAdaptiveGroups`: Get reports on aggregate information only.
23+
24+
### Cloudflare API <Badge text="Legacy" variant="caution" size="medium" />
25+
26+
You can also use the DNS Firewall API [reports endpoint](/api/resources/dns_firewall/subresources/analytics/subresources/reports/).
27+
28+
29+
## Logs
30+
31+
You can [set up Logpush](/logs/about/) to deliver [DNS Firewall logs](/logs/reference/log-fields/account/dns_firewall_logs/) to a storage service, SIEM, or log management provider.
32+
33+
### Response reasons
1434

1535
When analyzing why Cloudflare DNS Firewall responded in one way or another to a specific query, consider the `responseReason` log field.
1636

0 commit comments

Comments
 (0)