Command show-status-log

Usage: juju show-status-log [options] <entity name>

Summary:

Output past statuses for the specified entity.

Options:

-B, --no-browser-login (= false)

Do not use web browser for authentication

--days (= 0)

Returns the logs for the past days (cannot be combined with -n or --date)

--from-date (= "")

Returns logs for any date after the passed one, the expected date format is YYYY-MM-DD (cannot be combined with -n or --days)

--include-status-updates (= false)

Deprecated, has no effect for 2.3+ controllers: Include update status hook messages in the returned logs

-m, --model (= "")

Model to operate in. Accepts [<controller name>:]<model name>

-n (= 0)

Returns the last N logs (cannot be combined with --days or --date)

--type (= "unit")

Type of statuses to be displayed [container|juju-container|juju-machine|juju-unit|machine|unit|workload]

--utc (= false)

Display time as UTC in RFC3339 format

Details:

This command will report the history of status changes for a given entity.

The statuses are available for the following types.

--type supports:

     container:  statuses from the agent that is managing containers
      juju-container:  statuses from the containers only and not their host machines
      juju-machine:  status of the agent that is managing a machine
      juju-unit:  statuses from the agent that is managing a unit
      machine:  statuses that occur due to provisioning of a machine
      unit:  statuses for specified unit and its workload
      workload:  statuses for unit's workload
  and sorted by time of occurrence.

  The default is unit.