Synopsis
- ~N N’th behind the latest snapshot
- N snapshot number N
- NOW the latest snapshot
Flags
Flags inherited from parent commands
Live Example
To view a live example of ‘kosli log environment’ you can run the commands below (for the cyber-dojo demo organization).Run the commands below and view the output.
export KOSLI_ORG=cyber-dojo export KOSLI_API_TOKEN=Pj_XT2deaVA6V1qrTlthuaWsmjVt4eaHQwqnwqjRO3A # read-only kosli log environment aws-prod —output=json
Examples Use Cases
These examples all assume that the flags--api-token, --org, --host, (and --flow, --trail when required), are set/provided.
list the last 15 events for an environment
list the last 15 events for an environment
list the last 30 events for an environment
list the last 30 events for an environment
list the last 30 events for an environment (in JSON)
list the last 30 events for an environment (in JSON)
list events for an environment filtered by repo
list events for an environment filtered by repo
list events for an environment filtered by multiple repos
list events for an environment filtered by multiple repos