Listing local events using the CLI

Content Software for File CLI Reference

Version
4.2.x
Audience
anonymous
Part Number
MK-HCSF001-03

Command

weka events list-local

Use the following command line to list recent events on the specific host running the command from.

This command is helpful for the following cases:

  • No connectivity to the central monitoring site
  • No connectivity from a specific host
  • Hosts that are not part of the cluster
weka events list-local [--start-time <start-time>] [--end-time <end-time>] [--next next] [--stem-mode] [--show-internal] [--raw-units] [--UTC]

Parameters

Name Type Value Limitations Mandatory Default
start-time String Include events that occurred at this start time and later Format: 5m, -5m, -1d, -1w, 1:00, 01:00, 18:30, 18:30:07, 2018-12-31 10:00, 2018/12/31 10:00, 2018-12- 31T10:00, 9:15Z, 10:00+2:00 no -365 days
end-time String Include events that occurred up to this time Format: 5m, -5m, -1d, -1w, 1:00, 01:00, 18:30, 18:30:07, 2018-12-31 10:00, 2018/12/31 10:00, 2018-12- 31T10:00, 9:15Z, 10:00+2:00 No Set to a time represents 'now'
next String Identifier to the next page of events As returned in the previous call to weka events list-local No  
stem-mode Boolean Displays events when the host has not been attached to the cluster   No False
show-internal Boolean Also displays internal events   No False
raw-units Boolean Print values in raw units (bytes, seconds, among others.)   No Human-readable format, for example, 1KiB 234MiB 2GiB
UTC Boolean Print times in UTC   No Host's local time