You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/radosgw/bucket_logging.rst
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -40,8 +40,8 @@ Journal
40
40
If logging type is set to "Journal", the records are written to the log bucket before the bucket operation is completed.
41
41
This means that if the logging action fails, the operation will not be executed, and an error will be returned to the client.
42
42
An exception to the above are "multi/delete" log records: if writing these log records fail, the operation continues and may still be successful.
43
-
Note that it may happen that the log records were successfully written, but the bucket operation failed, since the logs are written
44
-
before such a failure, there will be no indication for that in the log records.
43
+
Journal mode supports filtering out records based on matches of the prefixes and suffixes of the logged object keys. Regular-expression matching can also be used on these to create filters.
44
+
Note that it may happen that the log records were successfully written, but the bucket operation failed, since the logs are written.
Copy file name to clipboardExpand all lines: examples/rgw/boto3/service-2.sdk-extras.json
+16Lines changed: 16 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -310,6 +310,10 @@
310
310
"RecordsBatchSize":{
311
311
"shape":"RecordsBatchSize",
312
312
"documentation":"indicates how many records to batch in memory before writing to the object. if set to zero, records are written syncronously to the object. if <code>ObjectRollTime</code>e is reached, the batch of records will be written to the object regardless of the number of records. </p>"
313
+
},
314
+
"Filter":{
315
+
"shape":"LoggingConfigurationFilter",
316
+
"documentation":"<p>A filter for all log object. Filter for the object by its key (prefix, suffix and regex).</p>"
313
317
}
314
318
},
315
319
"documentation":"<p>Describes where logs are stored the prefix assigned to all log object keys for a bucket, and their format. also, the level the delivery guarantee of the records.</p>"
@@ -363,6 +367,18 @@
363
367
"Standard",
364
368
"Journal"
365
369
]
370
+
},
371
+
"LoggingConfigurationFilter":{
372
+
"type":"structure",
373
+
"members":{
374
+
"Key":{
375
+
"shape":"S3KeyFilter",
376
+
"documentation":"<p/>",
377
+
"locationName":"S3Key"
378
+
}
379
+
},
380
+
"documentation":"<p>A filter for all log object. Filter for the object by its key (prefix, suffix and regex).</p>",
0 commit comments