lbcli list events (2.3.8 and above)

Lists events resources.

Bash
Copy
FlagShortTypeDefaultDescription
--component-typeStringOptional. Returns only events of the specified component type.
--limitint64Optional. Limits the maximum number of events to get back in the response for this query.
--help-hBoolHelp for events.
--next-tokenStringOptional. A string that specifies the first event in the response list of events.
--project-nameStringThe project name.
--severitystringSliceOptional. Returns events of the specified severity. This should return a list rather than a single severity.`
--sinceString

Optional. Returns a list of events with a timestamp not earlier than the specified timestamp.

Note: The time format must adhere to UTC Time in ISO-8601, i.e.:

2020-01-30T12:12:00.00000

--untilString

Optional. Returns a list of events with a timestamp not later than the specified timestamp.

Note: The time format must adhere to UTC Time in ISO-8601, i.e.:

2020-01-30T12:12:00.00000Z

This command returns the following fields for each event. The default output format is human-readable. The human-readable output only shows some of these fields. The json/yaml output format is also supported and includes the provided required information.

FieldTypeDescription
IDstringThe unique identifier of the event. Contains an always increasing value.
TimeTimestampThe time of the event.
TypestringThe type of component the event was raised for (valid types include: Cluster, Node, NVMeSSD, Server).
SeveritystringThe severity of the event (valid values include: Info, Low, Medium, High, Critical).
EventNamestringThe name of the event.
EventCodeuint32The numeric coding for this kind of event. EventCode and CauseCode provide a numeric code for this event. The event code specifies a code for the general event such as inactive node, and the causeCode provides lower-level granularity for the specific cause of this event.
ReportingServicestringThe type of Lightbits service that reported this event (CM - Cluster Manager, NM - Node Manager, API - API Service, UM - Upgrade Manager).
AssociatedEventIDstringThe ID of the associated event.
StatusstringThe status of the component this event was raised for.
causeCodeuintThe numeric coding for this kind of event. EventCode and CauseCode provide a numeric code for this event. The event code specifies a code for the general event such as inactive node, and the causeCode provides lower-level granularity for the specific cause of this event.
DescriptionstringA detailed description of the event.

Component Info, one of:

  • ComponentVolumesInfo

  • ComponentNVMeSSDInfo

  • ComponentNodeInfo

  • ComponentClusterInfo

unionComponent-specific information. It will contain one of the structures below, according to component type.

ComponentVolumesInfo

FieldTypeDescription
ProjectVolumesMapmapA map of all projects that contain events for volumes whose protection state was changed. Each entry in the map contains a list with info on affected volumes, using VolumeComponentInfoList.

VolumeComponentInfoList

FieldTypeDescription
VolumeComponentInfoListlistA list of volumes affected by this event.
IDstringThe UUID of the affected volume.
NamestringThe name of the affected volume.

ComponentNVMeSSDInfo

FieldTypeDescription
IDstringThe serial number of the affected NVMeSSD device.
NamestringThe name of the affected NVMeSSD device.

ComponentNodeInfo

FieldTypeDescription
IDstringThe UUID of the affected node.
NamestringThe name of the affected node.

ComponentClusterInfo

FieldTypeDescription
IDstringThe UUID of the affected cluster.
NamestringThe name of the affected cluster.

Response Example:

Bash
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard