跳转到主要内容
本章内容117
-
01
Custom dashboards
import { DashButton } from "~/components";
Custom dashboards allow you to build personalized views that hig...
7 小时前
-
02
Analytics
import { Feature, RelatedProduct } from "~/components";
Cloudflare visualizes the metadata collected by our...
7 小时前
-
03
Understanding sampling in Cloudflare Analytics
Sampling is a technique used in analytics to analyze a subset of data rather than processing every individu...
7 小时前
-
04
Types of analytics
import { Badge } from "~/components";
Cloudflare Analytics is a comprehensive product that encompasses all ...
7 小时前
-
05
Account analytics (beta)
import { DashButton } from "~/components"
Cloudflare account analytics lets you access a wide range of aggr...
8 小时前
-
06
Cloudflare analytics with Workers
Learn how Cloudflare analytics tracks requests made by Cloudflare Workers.
What is a subrequest
With a no-o...
8 小时前
-
07
Security reports
import { DashButton, Details } from "~/components";
Application Security reports provide cyber attack insig...
8 小时前
-
08
Account and zone analytics
import { DirectoryListing } from "~/components"
Visit the following pages to learn more about account and z...
8 小时前
-
09
Status codes
:::note
Status Codes analytics by data center is exclusive to the enterprise level of service.
:::
Status C...
8 小时前
-
10
Threat types
Cloudflare classifies the threats that it blocks or challenges. To help you understand more about your site...
8 小时前
-
11
Total threats stopped
Total Threats Stopped measures the number of 'suspicious' and 'bad' requests that were aimed at your site. ...
8 小时前
-
12
Zone Analytics
import { Badge, DashButton, Render } from "~/components";
The Cloudflare zone analytics is a major componen...
8 小时前
-
13
Get started
import { DirectoryListing, WranglerConfig } from "~/components"
1. Name your dataset and add it to your Wor...
8 小时前
-
14
Querying from Grafana
Workers Analytics Engine is optimized for powering time series analytics that can be visualized using tools...
8 小时前
-
15
Workers Analytics Engine
import { LinkButton } from "~/components"
Workers Analytics Engine provides unlimited-cardinality analytics...
8 小时前
-
16
Limits
The following limits apply to Workers Analytics Engine:
Analytics Engine will accept up to twenty blobs, tw...
7 小时前
-
17
Pricing
Workers Analytics Engine is priced based on two metrics — data points written, and read queries.
Plan
Data ...
7 小时前
-
18
Sampling with WAE
Workers Analytics Engine offers the ability to write an extensive amount of data and retrieve it quickly, a...
7 小时前
-
19
SQL API
The Workers Analytics Engine SQL API is an HTTP API that allows executing SQL queries against your Workers ...
7 小时前
-
20
Querying from a Worker
import { WranglerConfig } from "~/components";
If you want to access Analytics Engine data from within a Wo...
7 小时前
-
21
Examples
import { DirectoryListing } from "~/components"
Example implementations of common use cases for Workers Ana...
7 小时前
-
22
Usage-based billing
Many Cloudflare customers run software-as-a-service products with multiple customers. A big concern for suc...
7 小时前
-
23
Aggregate functions
import { Badge } from "~/components"
count
Usage:
count()
count(DISTINCT column_name)
count is an aggregati...
7 小时前
-
24
Bit functions
import { Badge } from "~/components"
bitAnd
Usage:
bitAnd(a, b)
bitAnd returns the bitwise AND of expressi...
7 小时前
-
25
Conditional functions
Usage:
if(<condition>, <true_expression>, <false_expression>)
Returns
<true_expression> if
<condition> ev...
7 小时前
-
26
Date and Time functions
import { Badge } from "~/components"
formatDateTime
Usage:
formatDateTime(<datetime expression>, <format st...
7 小时前
-
27
Encoding functions
import { Badge } from "~/components"
bin
Usage:
bin(<expression>)
bin returns a string containing the bina...
7 小时前
-
28
SQL Reference
import { DirectoryListing } from "~/components"
Reference documentation describing the SQL supported by Wor...
7 小时前
-
29
Literals
The following literals are supported:
Type
Syntax
integer
42,
-42
double
4.2,
-4.2
string
'so long and th...
7 小时前
-
30
Mathematical functions
import { Badge } from "~/components"
intDiv
Usage:
intDiv(a, b)
Divide
a by
b, rounding the answer down t...
7 小时前
-
31
Operators
import { Badge } from "~/components";
The following operators are supported:
Arithmetic operators
Operator
...
7 小时前
-
32
Statements
import { Badge } from "~/components";
SHOW TABLES statement
SHOW TABLES can be used to list the tables on y...
7 小时前
-
33
String functions
import { Badge } from "~/components"
length
Usage:
length({string})
Returns the length of a string. This fu...
7 小时前
-
34
Type conversion functions
import { Badge } from "~/components"
toUInt8
Usage:
toUInt8(<expression>)
Converts any numeric expression,...
7 小时前
-
35
Datadog
This tutorial explains how to analyze Cloudflare metrics using the Cloudflare Integration tile for Datadog....
7 小时前
-
36
Graylog
This tutorial explains how to analyze Cloudflare Logs using Graylog.
Overview
If you haven't used Cloudflar...
7 小时前
-
37
Analytics integrations
import { DirectoryListing } from "~/components"
Cloudflare Enterprise customers can use Cloudflare integrat...
7 小时前
-
38
New Relic
This tutorial explains how to analyze Cloudflare metrics using the New Relic One Cloudflare Quickstart.
Pre...
7 小时前
-
39
Prometheus
This tutorial explains how to export Cloudflare metrics to Prometheus using the Cloudflare Prometheus Expor...
7 小时前
-
40
Sentinel
import { Details } from "~/components";
Cloudflare has integrations with Microsoft Sentinel to make analyzi...
7 小时前
-
41
Troubleshooting
Use this guide to resolve common issues when integrating Cloudflare logs with Microsoft Sentinel through th...
7 小时前
-
42
Splunk
import { Render } from "~/components";
This tutorial explains how to analyze Cloudflare Logs using the Clou...
7 小时前
-
43
Troubleshooting
Use this guide to resolve common issues when analyzing Cloudflare Logs through the Cloudflare App for Splun...
7 小时前
-
44
About Cloudflare Analytics
In an effort to make analytics an ubiquitous component of all Cloudflare's products, Cloudflare has impleme...
7 小时前
-
45
GraphQL API inconsistent results
If you run the same GraphQL Analytics API query multiple times and receive slightly different results, this...
7 小时前
-
46
FAQs
import { DirectoryListing } from "~/components"
Visit the following pages for commonly asked questions:
7 小时前
-
47
Other FAQs
There is a number of different types of traffic which may originate from CLOUDFLARENET ASN 13335; just beca...
7 小时前
-
48
Workers Analytics Engine FAQs
Below you will find answers to our most commonly asked questions.
Sampling
Could I just use many unique ind...
7 小时前
-
49
Account-based rate limiting
By default, the GraphQL Analytics API applies rate limits per user or per API
token. As you grow — adding m...
7 小时前
-
50
Error responses
The GraphQL Analytics API is a RESTful API based on HTTPS requests and JSON responses, and will return fami...
7 小时前
-
51
GraphQL Analytics API
The GraphQL Analytics API provides data regarding HTTP requests passing through Cloudflare's network, as we...
7 小时前
-
52
Limits
Cloudflare GraphQL API exposes more than 70 datasets representing products with
different configurations an...
7 小时前
-
53
Sampling
For a deep-dive on how sampling at Cloudflare works, see Understanding sampling in Cloudflare Analytics.
Ov...
7 小时前
-
54
Confidence Intervals
Confidence intervals help assess accuracy and quantify uncertainty in results from sampled datasets. When q...
7 小时前
-
55
Datasets (tables)
Cloudflare Analytics offers a range of datasets, including both general and
product-specific ones. Datasets...
7 小时前
-
56
Filtering
Filters constrain queries to a particular account or set of zones, requests by date, or those from a specif...
7 小时前
-
57
Features
import { DirectoryListing } from "~/components"
The GraphQL Analytics API offers the following features:
7 小时前
-
58
Nested Structures
Two kinds of nested structures that are supported: arrays and maps. Fields of either of these types are arr...
7 小时前
-
59
Pagination
Pagination – breaking up your query results into smaller parts – can be done using
limit,
orderBy, and fi...
7 小时前
-
60
Sorting
You can specify the order of the query result elements using the
orderBy argument. By default, the results...
7 小时前
-
61
Discovery
GraphQL API supports introspection to explore nodes and provides a way to
retrieve the user's limits for ev...
7 小时前
-
62
Introspection
Cloudflare GraphQL API has a dynamic schema and exposes more than 70 datasets
across zone and account scope...
7 小时前
-
63
Settings node
Cloudflare GraphQL API exposes more than 70 datasets to its customers. These
datasets represent different C...
7 小时前
-
64
Compose a query in GraphiQL
Many clients might need help using the semantics of GraphQL and exploring
the possibilities of Cloudflare G...
7 小时前
-
65
Execute a GraphQL query with curl
Using a plain curl to send a query provides the ability to slice-n-dice with the
results and apply post-pro...
7 小时前
-
66
Explore the GraphQL schema
Many GraphQL clients support browsing the GraphQL schema by taking care of
introspection. In this page, we ...
7 小时前
-
67
Get started
import { Render } from "~/components"
Use these articles to get started with the Cloudflare GraphQL API:
Au...
7 小时前
-
68
Querying basics
GraphQL structures data as a graph. GraphQL uses a schema to define the objects
and their hierarchy in your...
7 小时前
-
69
Authenticate with a Cloudflare API key
API keys are unique to each Cloudflare user and used only for authentication. An API key does not authorize...
7 小时前
-
70
Configure an Analytics API token
import { DashButton } from "~/components";
Cloudflare recommends API tokens as the preferred authentication...
7 小时前
-
71
Configure GraphQL client endpoint and HTTP headers
Launch GraphiQL.
Select Edit HTTP Headers.
The Edit HTTP Headers window appears.
Select Add Header to confi...
7 小时前
-
72
Authentication
Cloudflare separates service configuration by zone. When there are multiple accounts, each with many zones,...
7 小时前
-
73
HTTP Requests by Colo Groups to HTTP Requests by Adaptive Groups
import { Details } from "~/components";
This guide shares considerations when migrating from the deprecated...
7 小时前
-
74
Migration guides
If you are currently using the deprecated
httpRequests1mByColoGroups or
httpRequests1dByColoGroups GraphQ...
7 小时前
-
75
Zone Analytics Colos Endpoint to GraphQL Analytics
import { Details } from "~/components";
This guide shows how you might migrate from the deprecated (and soo...
7 小时前
-
76
Zone Analytics to GraphQL Analytics
import { Details } from "~/components";
The Zone Analytics API allows you to get request data by zone. It o...
7 小时前
-
77
Main differences
In Network Analytics v1 (NAv1), the data is rolled up into one minute roll-up tables, then one hour roll-up...
7 小时前
-
78
Network Analytics v1 to Network Analytics v2
import { Render } from "~/components";
In early 2020, Cloudflare released the first version of the Network ...
7 小时前
-
79
NAv2 node reference
Main nodes provide deep packet-level information about traffic and attacks for Spectrum customers and Magic...
7 小时前
-
80
NAv1 to NAv2 schema map
The following table lists direct mappings between NAv1 and NAv2 fields, when available, and provides relate...
7 小时前
-
81
Capture GraphQL queries with Chrome DevTools
import { DashButton } from "~/components";
Using Chrome DevTools, you can capture the queries running behin...
7 小时前
-
82
Querying HTTP events by hostname with GraphQL
In this example, we are going to use the GraphQL Analytics API to query aggregated metrics about HTTP event...
7 小时前
-
83
Tutorials
import { DirectoryListing } from "~/components"
The following resources will help you start exploring your ...
7 小时前
-
84
Querying Access login events with GraphQL
In this example, we are going to use the GraphQL Analytics API to retrieve logs for an Access login event. ...
7 小时前
-
85
Querying Containers metrics with GraphQL
import { Details } from "~/components";
This example uses the GraphQL Analytics API to query metrics for yo...
7 小时前
-
86
Querying Email Routing events with GraphQL
This example uses the GraphQL Analytics API to query for Email Routing events over a specified time period....
7 小时前
-
87
Querying Firewall Events with GraphQL
In this example, we are going to use the GraphQL Analytics API to query for Firewall Events over a specifie...
7 小时前
-
88
Querying Magic Transit endpoint health check results with GraphQL
import { Render } from "~/components"
7 小时前
-
89
Querying Magic Transit and Cloudflare WAN IPsec/GRE tunnel bandwidth analytics with GraphQL
import { Render } from "~/components"
<Render file="graphql/query-magic-transit-bandwidth-graphql"
product=...
7 小时前
-
90
Querying Magic Transit and Cloudflare WAN IPsec/GRE tunnel health check results with GraphQL
import { Render } from "~/components"
<Render file="graphql/query-magic-transit-health-checks"
product="net...
7 小时前
-
91
Querying Cloudflare Network Firewall Intrusion Detection System (IDS) samples with GraphQL
In this example, we are going to use the GraphQL Analytics API to query for IDS samples over a specified ti...
7 小时前
-
92
Querying Cloudflare Network Firewall Samples with GraphQL
In this example, we are going to use the GraphQL Analytics API to query for Cloudflare Network Firewall Sam...
7 小时前
-
93
Querying Workers Metrics with GraphQL
In this example, we are going to use the GraphQL Analytics API to query for Workers Metrics over a specifie...
7 小时前
-
94
Use GraphQL to create widgets
This article presents examples of queries you can use to populate your own dashboard.
Parameters and filter...
7 小时前
-
95
Get started
import { GlossaryTooltip, Render, DashButton } from "~/components";
View the Network Analytics dashboard
In...
7 小时前
-
96
Network analytics
import { InlineBadge, Render } from "~/components"
Cloudflare Network Analytics (version 2) provides near r...
7 小时前
-
97
Adjust the displayed data
import { DashButton } from "~/components";
Select the appropriate tab
To perform a broad analysis of layer ...
7 小时前
-
98
Configure
import { DirectoryListing } from "~/components"
7 小时前
-
99
Share and export data
import { GlossaryTooltip } from "~/components"
Share Network Analytics filters
When you add filters and spe...
7 小时前
-
100
Adjust the time range
Use the timeframe drop-down list to change the time range over which Network Analytics displays data. When ...
7 小时前
-
101
Data collection
For the purposes of mitigating DDoS attacks and providing traffic visibility through the Network Analytics ...
7 小时前
-
102
Reference
import { DirectoryListing } from "~/components"
Review reference information about Cloudflare Network Analy...
7 小时前
-
103
Concepts
With Adaptive Bit Rate (ABR) sampling, every analytics query that supports ABR will be calculated at a reso...
7 小时前
-
104
About
import { DirectoryListing } from "~/components"
7 小时前
-
105
Main dashboard
import { Render } from "~/components";
The following sections are a guide on the different sections of the ...
7 小时前
-
106
Datasets
Each SQL API dataset has a schema-qualified name. The prefix identifies what one row represents and how you...
7 小时前
-
107
Error responses
The SQL API uses HTTP status codes to report errors. Errors returned by the SQL service usually have a
tex...
7 小时前
-
108
SQL API
The SQL API lets you query Cloudflare analytics and observability datasets with SQL. Use the API to select ...
7 小时前
-
109
Limits
The following limits apply to SQL API queries:
Limit
Value
SQL statements per request
1
SQL statement lengt...
7 小时前
-
110
Query the API
Send a
GET or
POST request to:
https://api.cloudflare.com/client/v4/analytics/sql
Include an
Authorizati...
7 小时前
-
111
Workers binding
import { TypeScriptExample, WranglerConfig } from "~/components";
The Analytics SQL binding lets a Cloudfla...
7 小时前
-
112
Get started
To run an account-scoped query, you need an account identifier and an API token with Account Analytics Read...
7 小时前
-
113
Data types and literals
Dataset schemas can expose the following field types:
Type
Description
String
UTF-8 text.
UInt8,
UInt16,
...
7 小时前
-
114
Functions
Function names are case-insensitive.
Aggregate functions
Function
Description
COUNT(*) or
COUNT()
Count ma...
7 小时前
-
115
SQL language reference
The SQL API supports a read-only subset of SQL for analytics queries. SQL keywords and function names are c...
7 小时前
-
116
Operators
Operator
Description
Example
+
Addition
requests + 1
-
Subtraction
bytes - cachedBytes
*
Multiplication
req...
7 小时前
-
117
Statements and clauses
The SQL API accepts one
SELECT statement per request.
SELECT select_expression [, ...]
FROM schema.dataset...
7 小时前