Logpush integration
With Cloudflare’s Logpush service, you can configure the automatic export of Zero Trust logs to third-party storage destinations or to security information and event management (SIEM) tools. Once exported, your team can analyze and audit the data as needed.
Export Zero Trust logs with Logpush
To enable Logpush for Zero Trust logs:
- In Zero Trust ↗, go to Logs > Logpush.
- Select Add Logpush job.
- Enter a Job name.
- From the drop-down menu, choose the dataset to export.
- Next, select the data fields you want to include in the log.
- In Advanced settings, choose the timestamp format you prefer, and whether you want to enable logs sampling.
- Select Next.
- Select the service you want to export your logs to.
- Follow the service-specific instructions in Zero Trust to validate your destination.
The setup of your Logpush integration is now complete. Logpush will send updated logs every five minutes to your selected destination.
You can configure multiple destinations and add additional fields to your logs by returning to the Logpush page.
Zero Trust datasets
Refer to the Logpush documentation for a list of available fields.
Dataset | Description |
---|---|
Gateway DNS | DNS queries inspected by Cloudflare Gateway |
Gateway HTTP | HTTP requests inspected by Cloudflare Gateway |
Gateway Network | Network packets inspected by Cloudflare Gateway |
Audit Logs | Authentication events through Cloudflare Access |
Access Requests | HTTP requests to sites protected by Cloudflare Access |
CASB Findings | Security issues detected by Cloudflare CASB |
Device Posture | Device posture status from the WARP client |
Session Logs | Network session logs for traffic proxied by Cloudflare Gateway |
Parse DNS logs
Logpush logs the following fields for each DNS query:
- Query name
- Query type
- Query class
- Response TTL
- Response data
DNS query resource records are available in Base64-encoded binary format ↗ and JSON. For example: