dcloud rds instances logs

The PostgreSQL server log from every node, newest first; filter by text, node or severity. Kept 7 days

IAM rds:DescribeDBLogFilesRead

Synopsis

dcloud rds instances logs id [flags]

Arguments

  • <id>Required

    string

    Also accepted as --id. Constraints: 3-64 chars, /^(?!ewdoc-)[a-z0-9-]+$/

Flags

  • --startOptional

    string

    ISO time the lines start at; a day before end when omitted

  • --endOptional

    string

    ISO time the lines end at; now when omitted

  • --containsOptional

    string

    Only lines containing this text

    Constraints: max 200 chars

  • --nodeOptional

    number

    Only this node, by its ordinal (1 for the first); omitted: every node

    Constraints: integer, 1-99

  • --severityOptional

    enum

    Only lines of this severity; omitted: all

    One of: debug, info, notice, log, warning, error, fatal, panic

  • --limitOptional

    number

    At most this many lines (default 200)

    Constraints: integer, 1-1000

Example

dcloud rds instances logs id

Generated from the API description, the same one the API checks requests against and the CLI is built from.