rayids
Creates, updates, deletes, gets or lists a rayids resource.
Overview
| Name | rayids |
| Type | Resource |
| Id | cloudflare.logs.rayids |
Fields
The following fields are returned by SELECT queries:
- get
Get logs RayIDs response
| Name | Datatype | Description |
|---|
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | zone_id, ray_id | fields, timestamps | The /rayids api route allows lookups by specific rayid. The rayids route will return zero, one, or more records (ray ids are not unique). |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
ray_id | string | |
zone_id | string | The Cloudflare zone ID. |
fields | string | |
timestamps | string |
SELECT examples
- get
The /rayids api route allows lookups by specific rayid. The rayids route will return zero, one, or more records (ray ids are not unique).
SELECT
*
FROM cloudflare.logs.rayids
WHERE zone_id = '{{ zone_id }}' -- required
AND ray_id = '{{ ray_id }}' -- required
AND fields = '{{ fields }}'
AND timestamps = '{{ timestamps }}'
;