redshift_enable_logging function

Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster

Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster

Starts logging information, such as queries and connection attempts, for the specified Amazon Redshift cluster.

See https://www.paws-r-sdk.com/docs/redshift_enable_logging/ for full documentation.

redshift_enable_logging( ClusterIdentifier, BucketName = NULL, S3KeyPrefix = NULL, LogDestinationType = NULL, LogExports = NULL )

Arguments

  • ClusterIdentifier: [required] The identifier of the cluster on which logging is to be started.

    Example: examplecluster

  • BucketName: The name of an existing S3 bucket where the log files are to be stored.

    Constraints:

    • Must be in the same region as the cluster
    • The cluster must have read bucket and put object permissions
  • S3KeyPrefix: The prefix applied to the log file names.

    Valid characters are any letter from any language, any whitespace character, any numeric character, and the following characters: underscore (_), period (.), colon (:), slash (/), equal (=), plus (+), backslash (\), hyphen (-), at symbol (@).

  • LogDestinationType: The log destination type. An enum with possible values of s3 and cloudwatch.

  • LogExports: The collection of exported log types. Possible values are connectionlog, useractivitylog, and userlog.