> For the complete documentation index, see [llms.txt](https://docs.getlimy.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getlimy.ai/limy-pixel/cdn-integration/cloudflare-logpush.md).

# Cloudflare (LogPush)

#### Overview <a href="#overview" id="overview"></a>

Use Cloudflare Logpush to stream request metadata into Agent Monitoring. Logpush is a Cloudflare Enterprise feature that supports forwarding logs to external destinations

For additional details about Logpush, refer to Cloudflare’s [official documentation](https://developers.cloudflare.com/logs/about/).

{% stepper %}
{% step %}
on your domain Cloudflare Dashboard, go to **Analytics & Logs -> Logpush**

<figure><img src="https://3264818889-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfwoYt71NlEqR8u7MWxGE%2Fuploads%2FGfmo8CFzCu4jtoH2B1qP%2Fimage.png?alt=media&amp;token=3d858767-2324-446c-8d8f-24949b252439" alt="" width="260"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Create a new Logpush job, select HTTP destination

<figure><img src="https://3264818889-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfwoYt71NlEqR8u7MWxGE%2Fuploads%2F8C4ICxlAFtqCYPbjd3ku%2Fimage.png?alt=media&amp;token=e0c96a1f-8a17-495a-ba20-c51115a51966" alt="" width="250"><figcaption></figcaption></figure>
{% endstep %}

{% step %}
Set the destination URL to the Limy Analytics API endpoint

```
https://stream.getlimy.ai/?header_x-api-key=<YOUR_API_KEY>
```

{% endstep %}

{% step %}
**Select HTTP Requests**

<figure><img src="https://3264818889-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfwoYt71NlEqR8u7MWxGE%2Fuploads%2FDDDxx9dARjIw5rTBbtke%2Fimage.png?alt=media&amp;token=6a672c1b-0fe7-4c41-98a0-f3c285a832be" alt="" width="289"><figcaption></figcaption></figure>

Under "If logs match", select `Filtered logs`. Add a filter on the `ClientRequestHost` field matching your domain.

<figure><img src="https://3264818889-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FfwoYt71NlEqR8u7MWxGE%2Fuploads%2FbeZfYlOJrZdPUpUsvscf%2Fimage.png?alt=media&amp;token=8b49b4af-1fc6-4ede-ab5b-f3837596200f" alt=""><figcaption></figcaption></figure>

Select HTTP requests dataset, and choose the following fields to send:

* `ClientIP`
* `ClientRequestHost`
* `ClientRequestMethod`
* `ClientRequestReferer`
* `ClientRequestURI`
* `ClientRequestUserAgent`
* `EdgeStartTimestamp`
* `EdgeEndTimestamp`
* `EdgeResponseBytes`
* `EdgeResponseStatus`
* `RayId`
  {% endstep %}
  {% endstepper %}

### Need More Help?

* Contact `answers@limy.ai` for any further questions
