Events API allows you to retrieve events that occurred on your cluster.

Retrieve events that happen today

Retrieve events that happen today.

GET /api/get/events

Retrieve all events since

Retrieve all events since a specified Unix timestamp.

GET /api/get/lastevents/:time

Retrieve all events at the specified date

Retrieve all events at the specified date.date parameter is in the yyyy-MM-dd format.

GET /api/get/events/:date

The events list is the following:

NameComment in the eventDescription
CLUSTER_STARTNoneCluster starts, tables aren't loaded yet
CLUSTER_STOPNoneCluster stops receiving a stop command
NODE_DOWNNumber of the nodeA specific node is unreachable
CLUSTER_INITNoneCluster is reinitializing (after receiving a command from Monitor or the --init command)
MEMORY_LOWNoneCluster runs out of memory and tries to unload indexes
TABLE_LOADEDName of the tableA specific table is loaded and available
HYPER_INDEX_LOADEDName of the indexA HyperIndex is loaded and available
HYPER_INDEX_UNLOADEDName of the indexA HyperIndex is unloaded because of a lack of memory
SAVE_METADATANumber of tables that has been upgradedCluster saves metadata
PRELOAD_FINISHEDNumber of indexes loadedLoad of the most used tables is finished (during the start of the cluster)

JSON Format

All events have the same JSON structure for the following endpoints.

{
    "reqs": [
        {
            "type": "CLUSTER_START",
            "date": 1574757198519,
            "duration": 36,
            "comment": ""
        },
        {
            "type": "TABLE_LOADED",
            "date": 1574757199483,
            "duration": 333,
            "comment": "etalon.nyc_yellow_full"
        }
    ]
}
JS
NameTypeDescription
typeStringName of the event
dateTimestampUnix timestamp of the start of the event
durationIntegerTime took for the event, if available
commentStringA comment associated with this event, if available