get-logs

subtitle

Gets all the logs belong to a request id.

version

0.9.68

Description

Gets all the logs belong to a request id.

Synopsis

  get-logs
--workspace-crn <value>
--request-id <value>
[--fetch-all | --no-fetch-all]
[--page-size <value>]
[--offset <value>]
[--cli-input-json <value>]
[--generate-cli-skeleton]

Options

--workspace-crn (string)

WorkspaceCrn the request-id belongs to.

--request-id (string)

Unique Key to identify a set of logs.

--fetch-all | --no-fetch-all (boolean)

Flag to fetch all logs.

--page-size (integer)

Limit the number of logs.

--offset (integer)

offset from which the logs should be fetched.

--cli-input-json (string)

Performs service operation based on the JSON string provided. The JSON string follows the format provided by --generate-cli-skeleton. If other arguments are provided on the command line, the CLI values will override the JSON-provided values.

--generate-cli-skeleton (boolean)

Prints a sample input JSON to standard output. Note the specified operation is not run if this argument is specified. The sample input can be used as an argument for --cli-input-json.

Output

auditLogs -> (object)

AuditLogs contains all the logs for a given request id.

requestID -> (string)

The request ID associated with a long-running operation to fetch the logs for.

count -> (integer)

Total number of logs associated with the request id.

logs -> (array)

Contains all the logs for a given request id.

item -> (object)

Audit log represents an individual log.

createdDate -> (datetime)

Time at which the log is created.

log -> (string)

Log description.

Form Factors

public, private