Event-Log Commands¶
event-log get¶
Get Event Logs
- Example:
- slcli event-log get -d 01/01/2019 -D 02/01/2019 -t User -l 10
event-log get [OPTIONS]
Options
-
-d
,
--date-min
<date_min>
¶ The earliest date we want to search for event logs in mm/dd/yyyy format.
-
-D
,
--date-max
<date_max>
¶ The latest date we want to search for event logs in mm/dd/yyyy format.
-
-e
,
--obj-event
<obj_event>
¶ The event we want to get event logs for
-
-i
,
--obj-id
<obj_id>
¶ The id of the object we want to get event logs for
-
-t
,
--obj-type
<obj_type>
¶ The type of the object we want to get event logs for
-
-z
,
--utc-offset
<utc_offset>
¶ UTC Offset for searching with dates. +/-HHMM format [default: -0000]
-
--metadata
,
--no-metadata
¶
Display metadata if present [default: False]
-
-l
,
--limit
<limit>
¶ Total number of result to return. -1 to return ALL, there may be a LOT of these. [default: 50]
There are usually quite a few events on an account, so be careful when using the –limit -1 option. The command will automatically break requests out into smaller sub-requests, but this command may take a very long time to complete. It will however print out data as it comes in.
Currently the types are as follows, more may be added in the future.
:......................:
: types :
:......................:
: Account :
: CDN :
: User :
: Bare Metal Instance :
: API Authentication :
: Server :
: CCI :
: Image :
: Bluemix LB :
: Facility :
: Cloud Object Storage :
: Security Group :
:......................: