コマンドオプションサンプル:aws redshift enable-logging

コマンドサンプルを検索した結果です。

指定したAmazon Redshiftクラスタのログ情報(クエリや接続の試行など)を開始します。 詳細は次のリンクを参照してください。 https://docs.aws.amazon.com/ja_jp/cli/latest/reference/redshift/enable-logging.html

aws redshift enable-logging --cluster-identifier cm-satoshi --bucket-name redshift-tokyo-auditlog-cmyokota
aws redshift enable-logging --cluster-identifier rscluster bucket-name
    Analyze Database Audit Logs for Security and Compliance Using Amazon Redshift Spectrum | AWS Big Data Blog : http://aws.amazon.com/blogs/big-data/analyze-database-audit-logs-for-security-and-compliance-using-amazon-redshift-spectrum/
aws redshift enable-logging --cluster-identifier cm-satoshi --bucket-name redshift-tokyo-auditlog-cmyokota
    Amazon Redshiftでデータベース監査ログをS3に出力する | Developers.IO : http://dev.classmethod.jp/cloud/amazon-redshift-audit-cloudtrail/
aws redshift enable-logging --cluster-identifier rscluster --bucket-name
    Analyze Database Audit Logs for Security and Compliance Using Amazon Redshift Spectrum | Noise : http://noise.getoto.net/2017/06/09/analyze-database-audit-logs-for-security-and-compliance-using-amazon-redshift-spectrum/
aws redshift enable-logging --cluster-identifier dwh --bucket-name 14c6 --s3-key-prefix Auditing
    AWS CLIを使ってRedShiftの操作履歴をS3転送する | Siguniang's Blog : http://siguniang.wordpress.com/2014/07/21/aws-redshift-auditing-backed-by-s3/

aws のオプション一覧