@@ -5,9 +5,8 @@ should be able to use CLP as described in the [clp-json quick-start guide](../qu
55
66## Compressing logs from S3
77
8- To compress logs from S3, use the ` sbin/compress-from-s3.sh ` script. The script runs in one of two
9- modes of operation; select which one you'd like to use by using the corresponding argument in the
10- command:
8+ To compress logs from S3, use the ` sbin/compress-from-s3.sh ` script. The script supports two modes
9+ of operation. Select a mode by using the corresponding argument in the command:
1110
1211* [ ** s3-object** mode] ( #s3-object-compression-mode ) : Compress S3 objects specified by their full
1312 S3 URLs.
@@ -28,8 +27,8 @@ sbin/compress-from-s3.sh \
2827 < object-url> [< object-url> ...]
2928```
3029
31- * ` <object-url> ` is a URL identifying the S3 object to compress. It can be written in either one of
32- two formats:
30+ * ` <object-url> ` is a URL identifying the S3 object to compress. It can be written in either of two
31+ formats:
3332 * ` https://<bucket-name>.s3.<region-code>.amazonaws.com/<object-key> `
3433 * ` https://s3.<region-code>.amazonaws.com/<bucket-name>/<object-key> `
3534* The fields in ` <object-url> ` are as follows:
@@ -75,7 +74,7 @@ sbin/compress-from-s3.sh \
7574```
7675
7776* ` <key-prefix-url> ` is a URL identifying the S3 key prefix to compress. It can be written in either
78- one of two formats:
77+ of two formats:
7978 * ` https://<bucket-name>.s3.<region-code>.amazonaws.com/<key-prefix> `
8079 * ` https://s3.<region-code>.amazonaws.com/<bucket-name>/<key-prefix> `
8180* The fields in ` <key-prefix-url> ` are as follows:
@@ -86,8 +85,8 @@ sbin/compress-from-s3.sh \
8685 ` <all-logs-prefix> ` value from the [ compression IAM policy] [ compression-iam-policy ] .
8786
8887:::{note}
89- ` s3-key-prefix ` mode only accepts a single ` <key-prefix-url> ` argument. This limitation will be
90- addressed in a future release.
88+ ` s3-key-prefix ` mode accepts a single ` <key-prefix-url> ` argument. This limitation will be addressed
89+ in a future release.
9190:::
9291
9392[ aws-s3-object-key ] : https://docs.aws.amazon.com/AmazonS3/latest/userguide/object-keys.html
0 commit comments