Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 17 additions & 18 deletions src/content/docs/analytics/analytics-integrations/datadog.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
pcx_content_type: how-to
pcx_content_type: tutorial
title: Datadog
sidebar:
order: 98

---

This tutorial explains how to analyze Cloudflare metrics using the [Cloudflare Integration tile for Datadog](https://docs.datadoghq.com/integrations/cloudflare/).
Expand All @@ -12,10 +11,10 @@ This tutorial explains how to analyze Cloudflare metrics using the [Cloudflare I

Before viewing the Cloudflare dashboard in Datadog, note that this integration:

* Is available to all Cloudflare customer plans (Free, Pro, Business and Enterprise)
* Is based on the Cloudflare Analytics API
* Provides Cloudflare web traffic and DNS metrics only
* Does not feature data coming from request logs stored in Cloudflare Logs
- Is available to all Cloudflare customer plans (Free, Pro, Business and Enterprise)
- Is based on the Cloudflare Analytics API
- Provides Cloudflare web traffic and DNS metrics only
- Does not feature data coming from request logs stored in Cloudflare Logs

## Task 1 - Install the Cloudflare App

Expand All @@ -25,18 +24,18 @@ To install the Cloudflare App for Datadog:

2. Click the **Integrations** tab.

3. In the **search box**, start typing *Cloudflare*. The app tile should appear below the search box.
3. In the **search box**, start typing _Cloudflare_. The app tile should appear below the search box.
![Searching for Cloudflare App in the Datadog Integrations tab](~/assets/images/fundamentals/datadog/screenshots/datadog-integrations.png)

4. Click the **Cloudflare** tile to begin the installation.

5. Next, click **Configuration** and then complete the following:

* **Account name**: (Optional) This can be any value. It has not impact on the site data pulled from Cloudflare.
- **Account name**: (Optional) This can be any value. It has not impact on the site data pulled from Cloudflare.

* **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.
- **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.

* **API Key**: Enter your Cloudflare Global API key. For details refer to [API Keys](/fundamentals/api/get-started/keys/).
- **API Key**: Enter your Cloudflare Global API key. For details refer to [API Keys](/fundamentals/api/get-started/keys/).

6. Click **Install Integration**.
![Configuring and installing the Datadog integration](~/assets/images/fundamentals/datadog/screenshots/cloudflare-tile-datadog-fill-details.png)
Expand All @@ -49,13 +48,13 @@ By default, the dashboard displays metrics for all sites in your Cloudflare acco

The dashboard displays the following metrics:

* **Threats** (threats by type, threats by country)
* **Requests** (total requests, cached requests, uncached requests, top countries by request, requests by IP class, top content types)
* **Bandwidth** (total bandwidth, encrypted and unencrypted traffic cached bandwidth, uncached bandwidth)
* **Caching** (Cache hit rate, request caching rate over time)
* **HTTP response status errors**
* **Page views**
* **Search Engine Bot Traffic**
* **DNS** (DNS queries, response time, top hostnames, queries by type, stale vs. uncached queries)
- **Threats** (threats by type, threats by country)
- **Requests** (total requests, cached requests, uncached requests, top countries by request, requests by IP class, top content types)
- **Bandwidth** (total bandwidth, encrypted and unencrypted traffic cached bandwidth, uncached bandwidth)
- **Caching** (Cache hit rate, request caching rate over time)
- **HTTP response status errors**
- **Page views**
- **Search Engine Bot Traffic**
- **DNS** (DNS queries, response time, top hostnames, queries by type, stale vs. uncached queries)

![Dashboard displaying metrics for a site on a Cloudflare account](~/assets/images/fundamentals/datadog/dashboards/cloudflare-dashboard-datadog.png)
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
pcx_content_type: how-to
pcx_content_type: tutorial
title: Graylog
sidebar:
order: 102
Expand Down
51 changes: 24 additions & 27 deletions src/content/docs/analytics/analytics-integrations/looker.mdx
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
pcx_content_type: how-to
pcx_content_type: tutorial
title: Looker
sidebar:
order: 102

---

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).
Expand All @@ -18,17 +17,15 @@ This tutorial uses Cloudflare Logpush to send logs to [Google Cloud Storage Buck

Before sending your Cloudflare log data to Looker, make sure that you:

* Have an existing Looker account
* Have a Cloudflare Enterprise account with Cloudflare Logs enabled
* Configure [Logpush](/logs/about/) or [Logpull](/logs/logpull/)
* Load your data in a [database supported by Looker](https://looker.com/solutions/other-databases)
- Have an existing Looker account
- Have a Cloudflare Enterprise account with Cloudflare Logs enabled
- Configure [Logpush](/logs/about/) or [Logpull](/logs/logpull/)
- Load your data in a [database supported by Looker](https://looker.com/solutions/other-databases)

:::note[Note]


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.


:::

## Task 1 - Connect your Database to Looker
Expand All @@ -43,7 +40,7 @@ To create your new LookML project:

1. Log in to your Looker account.

2. In the menu bar, click **Develop** and make sure **Development Mode** is set to *ON*.
2. In the menu bar, click **Develop** and make sure **Development Mode** is set to _ON_.

3. Next, also under **Develop**, click **Manage LookML Projects**.

Expand All @@ -53,7 +50,7 @@ To create your new LookML project:

6. For **Starting Point**, choose \*Clone Public Git Repository\*\*.\*\*\*

7. Enter the *cloudflare\_block* URL for the public Git repository `git://github.com/llooker/cloudflare_block.git`.
7. Enter the _cloudflare_block_ URL for the public Git repository `git://github.com/llooker/cloudflare_block.git`.

8. Click **Create Project**. Looker will pull all of the repository files into a new LookML project.

Expand All @@ -66,7 +63,7 @@ To create your new LookML project:

To update the connection name in the LookML files:

1. In your LookML **cloudflare\_looker** model file, replace the **connection** name with yours, for example:
1. In your LookML **cloudflare_looker** model file, replace the **connection** name with yours, for example:
`connection: "bigquery_lpr"`.

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.
Expand Down Expand Up @@ -115,40 +112,40 @@ All dashboard have a set of filters that you can apply to the entire dashboard,

![List of the available filters from the Looker dashboard](~/assets/images/fundamentals/looker/screenshots/cloudflare-looker-dashboard-filters.png)

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*).
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_).

Available Filters:

* Date (EdgeStartTimestamp)
- Date (EdgeStartTimestamp)

* Device type
- Device type

* Country
- Country

* Client IP
- Client IP

* Hostname
- Hostname

* Request URI
- Request URI

* Origin Response Status
- Origin Response Status

* Edge response status
- Edge response status

* Origin IP
- Origin IP

* User Agent
- User Agent

* RayID
- RayID

* Worker Subrequest
- Worker Subrequest

* Client Request Method
- Client Request Method

With the following pre-set filter values in the Looker dashboards all workers subrequests and client request method PURGE are excluded from the calculations:

* **WorkerSubrequest** set to value *False*
- **WorkerSubrequest** set to value _False_

* **ClientRequestMethod** does not equal to *PURGE*
- **ClientRequestMethod** does not equal to _PURGE_

You can always adjust your default filter values according to your needs.
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
---
pcx_content_type: how-to
pcx_content_type: tutorial
title: New Relic
sidebar:
order: 103

---

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).
Expand All @@ -12,9 +11,9 @@ This tutorial explains how to analyze Cloudflare metrics using the [New Relic On

Before sending your Cloudflare log data to New Relic, make sure that you:

* Have a Cloudflare Enterprise account with Cloudflare Logs enabled.
* Have a New Relic account.
* Configure [Logpush to New Relic](/logs/get-started/enable-destinations/new-relic/).
- Have a Cloudflare Enterprise account with Cloudflare Logs enabled.
- Have a New Relic account.
- Configure [Logpush to New Relic](/logs/get-started/enable-destinations/new-relic/).

## Task 1 - Install the Cloudflare Network Logs quickstart

Expand Down
Loading