File tree Expand file tree Collapse file tree 1 file changed +70
-70
lines changed Expand file tree Collapse file tree 1 file changed +70
-70
lines changed Original file line number Diff line number Diff line change @@ -270,80 +270,80 @@ on shutdown used the `PutObject` API.
270270There are two ways of disabling this behavior:
271271
272272- Use ` static_file_path ` :
273-
274- {% tabs %}
275- {% tab title="fluent-bit.yaml" %}
273+
274+ {% tabs %}
275+ {% tab title="fluent-bit.yaml" %}
276276
277- ``` yaml
278- pipeline :
279-
280- outputs :
281- - name : s3
282- match : ' *'
283- bucket : my-bucket
284- region : us-west-2
285- total_file_size : 50M
286- use_put_object : off
287- compression : gzip
288- s3_key_format : ' /$TAG/%Y/%m/%d/%H_%M_%S.gz'
289- static_file_path : on
290- ` ` `
277+ ``` yaml
278+ pipeline :
279+
280+ outputs :
281+ - name : s3
282+ match : ' *'
283+ bucket : my-bucket
284+ region : us-west-2
285+ total_file_size : 50M
286+ use_put_object : off
287+ compression : gzip
288+ s3_key_format : ' /$TAG/%Y/%m/%d/%H_%M_%S.gz'
289+ static_file_path : on
290+ ` ` `
291291
292- {% endtab %}
293- {% tab title="fluent-bit.conf" %}
292+ {% endtab %}
293+ {% tab title="fluent-bit.conf" %}
294294
295- ` ` ` text
296- [OUTPUT]
297- Name s3
298- Match *
299- bucket my-bucket
300- region us-west-2
301- total_file_size 50M
302- use_put_object Off
303- compression gzip
304- s3_key_format /$TAG/%Y/%m/%d/%H_%M_%S.gz
305- static_file_path On
306- ```
295+ ` ` ` text
296+ [OUTPUT]
297+ Name s3
298+ Match *
299+ bucket my-bucket
300+ region us-west-2
301+ total_file_size 50M
302+ use_put_object Off
303+ compression gzip
304+ s3_key_format /$TAG/%Y/%m/%d/%H_%M_%S.gz
305+ static_file_path On
306+ ```
307307
308- {% endtab %}
309- {% endtabs %}
310-
311- - Explicitly define where the random UUID will go in the S3 key format :
312-
313- {% tabs %}
314- {% tab title="fluent-bit.yaml" %}
315-
316- ` ` ` yaml
317- pipeline:
318-
319- outputs:
320- - name: s3
321- match: '*'
322- bucket: my-bucket
323- region: us-west-2
324- total_file_size: 50M
325- use_put_object: off
326- compression: gzip
327- s3_key_format: '/$TAG/%Y/%m/%d/%H_%M_%S/$UUID.gz'
328- ` ` `
329-
330- {% endtab %}
331- {% tab title="fluent-bit.conf" %}
332-
333- ` ` ` text
334- [OUTPUT]
335- Name s3
336- Match *
337- bucket my-bucket
338- region us-west-2
339- total_file_size 50M
340- use_put_object Off
341- compression gzip
342- s3_key_format /$TAG/%Y/%m/%d/%H_%M_%S/$UUID.gz
343- ` ` `
344-
345- {% endtab %}
346- {% endtabs %}
308+ {% endtab %}
309+ {% endtabs %}
310+
311+ - Explicitly define where the random UUID will go in the S3 key format:
312+
313+ {% tabs %}
314+ {% tab title="fluent-bit.yaml" %}
315+
316+ ``` yaml
317+ pipeline :
318+
319+ outputs :
320+ - name : s3
321+ match : ' *'
322+ bucket : my-bucket
323+ region : us-west-2
324+ total_file_size : 50M
325+ use_put_object : off
326+ compression : gzip
327+ s3_key_format : ' /$TAG/%Y/%m/%d/%H_%M_%S/$UUID.gz'
328+ ` ` `
329+
330+ {% endtab %}
331+ {% tab title="fluent-bit.conf" %}
332+
333+ ` ` ` text
334+ [OUTPUT]
335+ Name s3
336+ Match *
337+ bucket my-bucket
338+ region us-west-2
339+ total_file_size 50M
340+ use_put_object Off
341+ compression gzip
342+ s3_key_format /$TAG/%Y/%m/%d/%H_%M_%S/$UUID.gz
343+ ```
344+
345+ {% endtab %}
346+ {% endtabs %}
347347
348348## Reliability
349349
You can’t perform that action at this time.
0 commit comments