Skip to main content

events

Creates, updates, deletes, gets or lists an events resource.

Overview

Nameevents
TypeResource
Idcloudflare.user.events

Fields

The following fields are returned by SELECT queries:

List Healthcheck Events response.

NameDatatypeDescription
idinteger
originsarray
poolobject
timestampstring (date-time) (example: 2014-01-01T05:20:00.12345Z)

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectuntil, pool_name, origin_healthy, pool_id, since, origin_name, pool_healthyList origin health changes.

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.

NameDatatypeDescription
origin_healthyboolean
origin_namestring
pool_healthyboolean
pool_idstring
pool_namestring
sincestring (date-time)
untilstring (date-time)

SELECT examples

List origin health changes.

SELECT
id,
origins,
pool,
timestamp
FROM cloudflare.user.events
WHERE until = '{{ until }}'
AND pool_name = '{{ pool_name }}'
AND origin_healthy = '{{ origin_healthy }}'
AND pool_id = '{{ pool_id }}'
AND since = '{{ since }}'
AND origin_name = '{{ origin_name }}'
AND pool_healthy = '{{ pool_healthy }}'
;