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
* Add intro and placeholder structure
* Fill in available dimensions
* Add placeholder sections per panel
* Fill in pannel descriptions
* Fix Top N description and consolidate info on filters and time frame
* Mention expand and search functionality
* Make info on filters and time frame more visible
* Adjust #query-overview description for Auth DNS analytics
* Add info on hitorical data and maximum duration
* Add details on processing vs response and 90th percentile
* Add new dimensions as per PM feedback and DashButton
* Overall review and make response-reasons a heading 2
* Apply suggestions from code review and PM request
Copy file name to clipboardExpand all lines: src/content/docs/dns/additional-options/analytics.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,9 +44,9 @@ The DNS analytics dashboard contains [four main panels](#dns-analytics-panels).
44
44
- Protocol
45
45
- IP version
46
46
47
-
#### DNS analytics panels
47
+
#### Panels
48
48
49
-
-**Query overview**: the number of queries per hour and their distribution over time. This information is segmented by each of the [available dimensions](#available-dimensions) and the graph displays the top five values. You can select the dimensions through the different tabs above the graph and quickly filter for or exclude a certain value from the results by hovering over it and selecting **Filter** or **Exclude**.
49
+
-**Query overview**: the number of queries and their distribution over time. This information is segmented by each of the [available dimensions](#available-dimensions) and the graph displays the top five values. You can select the dimensions through the different tabs above the graph and quickly filter for or exclude a certain value from the results by hovering over it and selecting **Filter** or **Exclude**.
50
50
51
51
-**Query statistics**: an overview of query metrics based on your filters and selected time frame. Namely, **Total queries**, **Average queries per second**, and **Average processing time**. The average processing time is displayed in milliseconds and includes upstream queries in the case of [flattened CNAME records](/dns/cname-flattening/).
Consider the sections below to learn how to access analytics and logs for your DNS Firewall.
12
12
13
13
## Analytics
14
14
15
+
DNS Firewall analytics allow you to evaluate data about DNS queries to your account.
16
+
17
+
### Availability and limits
18
+
19
+
The historical data available covers 62 days and the maximum time interval you can get data for is also 62 days.
20
+
21
+
### Dashboard
22
+
23
+
For a quick summary, view your DNS Firewall analytics on the dashboard. The DNS analytics dashboard contains [four main panels](#panels). The filters and time frame that you specify at the top of the page apply to all of them.
24
+
25
+
1. In the Cloudflare dashboard, go to the **DNS Firewall** page.
26
+
27
+
<DashButtonurl="/?to=/:account/dns-firewall" />
28
+
29
+
2. Go to **Analytics**.
30
+
31
+
#### Available dimensions
32
+
33
+
- Query name
34
+
- Query type (same as DNS record type)
35
+
- Cluster
36
+
- Cluster IP
37
+
- Response code
38
+
- Response reason (refer to [descriptions](#response-reasons) below)
39
+
- Response cached (cached or uncached)
40
+
- Response stale (stale or fresh)
41
+
- Data center
42
+
- Source IP
43
+
- Upstream nameserver IP
44
+
- Protocol (UDP or TCP)
45
+
- IP version (IPv4 or IPv6)
46
+
47
+
#### Panels
48
+
49
+
The filters and time frame that you specify at the top of the page apply to all of the available panels.
50
+
51
+
-**Query summary**: the number of queries and their distribution over time. This information is segmented by each of the [available dimensions](#available-dimensions). You can select the dimensions through the different tabs above the graph and quickly filter for or exclude a certain value from the results by hovering over it and selecting **Filter** or **Exclude**.
52
+
53
+
-**Query statistics**: an overview of query metrics. Namely, **Total queries**, **Cached queries**, **Uncached queries**, and **Stale cache queries**.
54
+
55
+
<Detailsheader="Processing time and response time"> Processing time refers to the total time taken to handle a query within DNS Firewall, meaning cached queries served directly from Cloudflare's servers. For uncached queries, the metric used is response time, which considers the time to get the answers from your upstream nameservers. The processing and response times are displayed in milliseconds.</Details>
56
+
57
+
<Detailsheader="90th percentile (p90)"> Aside from the average for both processing and response times, `p90` values show you the maximum time that 90% of queries took to resolve. For example, if the p90 is 1 millisecond, it means 90% of the queries were resolved in 1 millisecond or less.</Details>
58
+
59
+
-**DNS queries by data center**: a map indicating which Cloudflare data centers have handled DNS queries to your account. You can also find a list of the top ten results and quickly filter for or exclude a certain data center from the results by hovering over it and selecting **Filter** or **Exclude**.
60
+
61
+
-**Top query statistics**: a breakdown of the top queries grouped by the [available dimensions](#available-dimensions). You can expand each card to list more results and search for specific values.
62
+
15
63
### GraphQL
16
64
17
65
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/).
@@ -21,16 +69,17 @@ The DNS Firewall analytics has two [schemas](/analytics/graphql-api/getting-star
21
69
*`dnsFirewallAnalyticsAdaptive`: Retrieve information about individual DNS Firewall queries.
22
70
*`dnsFirewallAnalyticsAdaptiveGroups`: Get reports on aggregate information only.
23
71
24
-
### Cloudflare API <Badgetext="Legacy"variant="caution"size="medium" />
72
+
### API <Badgetext="Legacy"variant="caution"size="medium" />
25
73
26
74
You can also use the DNS Firewall API [reports endpoint](/api/resources/dns_firewall/subresources/analytics/subresources/reports/).
27
75
76
+
---
28
77
29
78
## Logs
30
79
31
80
You can [set up Logpush](/logs/logpush/) to deliver [DNS Firewall logs](/logs/logpush/logpush-job/datasets/account/dns_firewall_logs/) to a storage service, SIEM, or log management provider.
32
81
33
-
###Response reasons
82
+
## Response reasons
34
83
35
84
When analyzing why Cloudflare DNS Firewall responded in one way or another to a specific query, consider the `responseReason` log field.
36
85
@@ -47,3 +96,6 @@ The following table provides a description for each of the values that might be
47
96
|`chaos_success`| Response for [Chaos class](https://en.wikipedia.org/wiki/Chaosnet) was successfully served. |
48
97
|`attack_mitigation_block`| Query was blocked as part of [random prefix attack mitigation](/dns/dns-firewall/random-prefix-attacks/). |
49
98
|`unknown`| There was an unknown error. |
99
+
100
+
[^1]: the total time taken to handle a query within DNS Firewall.
101
+
[^2]: the time it takes when an answer is not cached and Cloudflare has to get the answer from your upstream nameservers.
0 commit comments