README.md in fluent-plugin-azure-storage-append-blob-lts-0.6.3 vs README.md in fluent-plugin-azure-storage-append-blob-lts-0.7.0
- old
+ new
@@ -40,10 +40,11 @@
azure_msi_client_id <Azure Managed Identity Client ID> # only used for MSI
auto_create_container true
path logs/
azure_object_key_format %{path}%{time_slice}_%{index}.log
time_slice_format %Y%m%d-%H
+ compress false
compute_checksums true
# if you want to use %{tag} or %Y/%m/%d/ like syntax in path / azure_blob_name_format,
# need to specify tag for %{tag} and time for %Y/%m/%d in <buffer> argument.
<buffer tag,time>
@type file
@@ -144,9 +145,23 @@
azure_object_key_format %{path}/events/ts=%{time_slice}/events-%{hostname}.log
### `time_slice_format`
Format of the time used in the file name. Default is '%Y%m%d'. Use '%Y%m%d%H' to split files hourly.
+
+### `compress`
+
+Default: `false`
+
+If `true`, compress (gzip) the file prior to uploading it.
+
+Note: If desired, set `.gz` suffix via `azure_object_key_format`.
+
+Example:
+
+```
+azure_object_key_format %{path}%{time_slice}-%{index}.log.gz
+```
### `compute_checksums`
Default: `true`