wb app logs

Name

wb-app-logs - Retrieve logs for an application instance.

Synopsis

wb app logs [--end-time=<endTime>] [--filter=<filter>] [--format=<format>] [--log-name=<logName>] [--page-size=<pageSize>] [--page-token=<pageToken>] [--severity=<severity>] [--since=<since>] [--start-time=<startTime>] [--workspace=<id>] (--id=<id>)

Description

Retrieve logs for an application instance.

Options

  • --end-time=<endTime>
    End time in ISO-8601 format (e.g., 2024-01-01T01:00:00Z). Required if --since is not specified.

  • --filter=<filter>
    Optional text filter to search across log message, systemd unit, and log name fields

  • --format=<format>
    Set the format for printing command output. Defaults to the config format property.

    Valid values: JSON, TEXT

    Default: null
    
  • --id=<id>
    ID of the resource, scoped to the workspace. Only use letters, numbers, dashes, and underscores.

  • --log-name=<logName>
    Filter by log name or log stream. For GCP, matches the logName field. For AWS, matches the @logStream field.

  • --page-size=<pageSize>
    Maximum number of log entries to return (default: 1000, max: 10000)

  • --page-token=<pageToken>
    Pagination token (only valid for GCP, not AWS)

  • --severity=<severity>
    Filter by log severity level (e.g., DEFAULT, DEBUG, INFO, NOTICE, WARNING, ERROR, CRITICAL, ALERT, EMERGENCY)

  • --since=<since>
    Retrieve logs from the specified time until now. Can be a relative duration (e.g., '5m', '2h', '7d') or an absolute timestamp in ISO-8601 format. Mutually exclusive with --start-time/--end-time.

  • --start-time=<startTime>
    Start time in ISO-8601 format (e.g., 2024-01-01T00:00:00Z). Required if --since is not specified.

  • --workspace=<id>
    Workspace ID to use for this command only.

Last Modified: 27 April 2026