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
This tutorial explains how to analyze Cloudflare metrics using the [Cloudflare Integration tile for Datadog](https://docs.datadoghq.com/integrations/cloudflare/).
@@ -12,10 +11,10 @@ This tutorial explains how to analyze Cloudflare metrics using the [Cloudflare I
12
11
13
12
Before viewing the Cloudflare dashboard in Datadog, note that this integration:
14
13
15
-
* Is available to all Cloudflare customer plans (Free, Pro, Business and Enterprise)
16
-
* Is based on the Cloudflare Analytics API
17
-
* Provides Cloudflare web traffic and DNS metrics only
18
-
* Does not feature data coming from request logs stored in Cloudflare Logs
14
+
- Is available to all Cloudflare customer plans (Free, Pro, Business and Enterprise)
15
+
- Is based on the Cloudflare Analytics API
16
+
- Provides Cloudflare web traffic and DNS metrics only
17
+
- Does not feature data coming from request logs stored in Cloudflare Logs
19
18
20
19
## Task 1 - Install the Cloudflare App
21
20
@@ -25,18 +24,18 @@ To install the Cloudflare App for Datadog:
25
24
26
25
2. Click the **Integrations** tab.
27
26
28
-
3. In the **search box**, start typing *Cloudflare*. The app tile should appear below the search box.
27
+
3. In the **search box**, start typing _Cloudflare_. The app tile should appear below the search box.
29
28

30
29
31
30
4. Click the **Cloudflare** tile to begin the installation.
32
31
33
32
5. Next, click **Configuration** and then complete the following:
34
33
35
-
***Account name**: (Optional) This can be any value. It has not impact on the site data pulled from Cloudflare.
34
+
-**Account name**: (Optional) This can be any value. It has not impact on the site data pulled from Cloudflare.
36
35
37
-
***Email**: This value helps keep your account safe. We recommend creating a dedicated Cloudflare user for analytics with the [*Analytics* role](/fundamentals/manage-members/roles/) (read-only). Note that the *Analytics* role is available to Enterprise customers only.
36
+
-**Email**: This value helps keep your account safe. We recommend creating a dedicated Cloudflare user for analytics with the [_Analytics_ role](/fundamentals/manage-members/roles/) (read-only). Note that the _Analytics_ role is available to Enterprise customers only.
38
37
39
-
***API Key**: Enter your Cloudflare Global API key. For details refer to [API Keys](/fundamentals/api/get-started/keys/).
38
+
-**API Key**: Enter your Cloudflare Global API key. For details refer to [API Keys](/fundamentals/api/get-started/keys/).
40
39
41
40
6. Click **Install Integration**.
42
41

@@ -49,13 +48,13 @@ By default, the dashboard displays metrics for all sites in your Cloudflare acco
49
48
50
49
The dashboard displays the following metrics:
51
50
52
-
***Threats** (threats by type, threats by country)
53
-
***Requests** (total requests, cached requests, uncached requests, top countries by request, requests by IP class, top content types)
Copy file name to clipboardExpand all lines: src/content/docs/analytics/analytics-integrations/looker.mdx
+24-27Lines changed: 24 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,8 @@
1
1
---
2
-
pcx_content_type: how-to
2
+
pcx_content_type: tutorial
3
3
title: Looker
4
4
sidebar:
5
5
order: 102
6
-
7
6
---
8
7
9
8
This tutorial explains how to analyze [Cloudflare Logs](https://www.cloudflare.com/products/cloudflare-logs/) using the [Cloudflare Log Analytics for Looker](https://marketplace.looker.com/marketplace/detail/cloudflare-log-analytics).
@@ -18,17 +17,15 @@ This tutorial uses Cloudflare Logpush to send logs to [Google Cloud Storage Buck
18
17
19
18
Before sending your Cloudflare log data to Looker, make sure that you:
20
19
21
-
* Have an existing Looker account
22
-
* Have a Cloudflare Enterprise account with Cloudflare Logs enabled
23
-
* Configure [Logpush](/logs/about/) or [Logpull](/logs/logpull/)
24
-
* Load your data in a [database supported by Looker](https://looker.com/solutions/other-databases)
20
+
- Have an existing Looker account
21
+
- Have a Cloudflare Enterprise account with Cloudflare Logs enabled
22
+
- Configure [Logpush](/logs/about/) or [Logpull](/logs/logpull/)
23
+
- Load your data in a [database supported by Looker](https://looker.com/solutions/other-databases)
25
24
26
25
:::note[Note]
27
26
28
-
29
27
Cloudflare logs are HTTP/HTTPS request logs in JSON format and are gathered from our 200+ data centers globally. By default, timestamps are returned as UNIX nanosecond integers. We recommend using the RFC 3339 format for sending logs to Looker.
30
28
31
-
32
29
:::
33
30
34
31
## Task 1 - Connect your Database to Looker
@@ -43,7 +40,7 @@ To create your new LookML project:
43
40
44
41
1. Log in to your Looker account.
45
42
46
-
2. In the menu bar, click **Develop** and make sure **Development Mode** is set to *ON*.
43
+
2. In the menu bar, click **Develop** and make sure **Development Mode** is set to _ON_.
47
44
48
45
3. Next, also under **Develop**, click **Manage LookML Projects**.
49
46
@@ -53,7 +50,7 @@ To create your new LookML project:
53
50
54
51
6. For **Starting Point**, choose \*Clone Public Git Repository\*\*.\*\*\*
55
52
56
-
7. Enter the *cloudflare\_block* URL for the public Git repository `git://github.com/llooker/cloudflare_block.git`.
53
+
7. Enter the _cloudflare_block_ URL for the public Git repository `git://github.com/llooker/cloudflare_block.git`.
57
54
58
55
8. Click **Create Project**. Looker will pull all of the repository files into a new LookML project.
59
56
@@ -66,7 +63,7 @@ To create your new LookML project:
66
63
67
64
To update the connection name in the LookML files:
68
65
69
-
1. In your LookML **cloudflare\_looker** model file, replace the **connection** name with yours, for example:
66
+
1. In your LookML **cloudflare_looker** model file, replace the **connection** name with yours, for example:
70
67
`connection: "bigquery_lpr"`.
71
68
72
69
2. Check if any table names need to be updated to your database connection names as well. If you decide to rename the filenames for explore, model name, and view, make sure to update all mentions within the other files. Otherwise, you might encounter errors.
@@ -115,40 +112,40 @@ All dashboard have a set of filters that you can apply to the entire dashboard,
115
112
116
113

117
114
118
-
The default time interval is set to 24 hours. Note that for correct calculations, by default, filters exclude Worker subrequests (**WorkerSubrequest** = *false*) and purge requests (**ClientRequestMethod** is not *PURGE*).
115
+
The default time interval is set to 24 hours. Note that for correct calculations, by default, filters exclude Worker subrequests (**WorkerSubrequest** = _false_) and purge requests (**ClientRequestMethod** is not _PURGE_).
119
116
120
117
Available Filters:
121
118
122
-
* Date (EdgeStartTimestamp)
119
+
- Date (EdgeStartTimestamp)
123
120
124
-
* Device type
121
+
- Device type
125
122
126
-
* Country
123
+
- Country
127
124
128
-
* Client IP
125
+
- Client IP
129
126
130
-
* Hostname
127
+
- Hostname
131
128
132
-
* Request URI
129
+
- Request URI
133
130
134
-
* Origin Response Status
131
+
- Origin Response Status
135
132
136
-
* Edge response status
133
+
- Edge response status
137
134
138
-
* Origin IP
135
+
- Origin IP
139
136
140
-
* User Agent
137
+
- User Agent
141
138
142
-
* RayID
139
+
- RayID
143
140
144
-
* Worker Subrequest
141
+
- Worker Subrequest
145
142
146
-
* Client Request Method
143
+
- Client Request Method
147
144
148
145
With the following pre-set filter values in the Looker dashboards all workers subrequests and client request method PURGE are excluded from the calculations:
149
146
150
-
***WorkerSubrequest** set to value *False*
147
+
-**WorkerSubrequest** set to value _False_
151
148
152
-
***ClientRequestMethod** does not equal to *PURGE*
149
+
-**ClientRequestMethod** does not equal to _PURGE_
153
150
154
151
You can always adjust your default filter values according to your needs.
Copy file name to clipboardExpand all lines: src/content/docs/analytics/analytics-integrations/new-relic.mdx
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,8 @@
1
1
---
2
-
pcx_content_type: how-to
2
+
pcx_content_type: tutorial
3
3
title: New Relic
4
4
sidebar:
5
5
order: 103
6
-
7
6
---
8
7
9
8
This tutorial explains how to analyze Cloudflare metrics using the [New Relic One Cloudflare Quickstart](https://newrelic.com/instant-observability/cloudflare/fc2bb0ac-6622-43c6-8c1f-6a4c26ab5434).
@@ -12,9 +11,9 @@ This tutorial explains how to analyze Cloudflare metrics using the [New Relic On
12
11
13
12
Before sending your Cloudflare log data to New Relic, make sure that you:
14
13
15
-
* Have a Cloudflare Enterprise account with Cloudflare Logs enabled.
16
-
* Have a New Relic account.
17
-
* Configure [Logpush to New Relic](/logs/get-started/enable-destinations/new-relic/).
14
+
- Have a Cloudflare Enterprise account with Cloudflare Logs enabled.
15
+
- Have a New Relic account.
16
+
- Configure [Logpush to New Relic](/logs/get-started/enable-destinations/new-relic/).
18
17
19
18
## Task 1 - Install the Cloudflare Network Logs quickstart
0 commit comments