@@ -40,7 +40,7 @@ Sending a `SIGHUP` signal will reload the config file.
4040
4141### Docker
4242
43- For a Docker container, the default location of config file is
43+ For a Docker container, the default location of the config file is
4444` /fluentd/etc/fluent.conf ` . To mount a config file from outside of Docker, use a
4545` bind-mount ` .
4646
@@ -71,7 +71,7 @@ The configuration file consists of the following directives:
71711 . ** ` source ` ** directives determine the input sources
72722 . ** ` match ` ** directives determine the output destinations
73733 . ** ` filter ` ** directives determine the event processing pipelines
74- 4 . ** ` system ` ** directives set system wide configuration
74+ 4 . ** ` system ` ** directives set system- wide configuration
75755 . ** ` label ` ** directives group the output and filter for internal routing
76766 . ** ` @include ` ** directives include other files
7777
@@ -115,7 +115,7 @@ and it must be in the Unix time format. The `record` is a JSON object.
115115
116116Fluentd accepts all non-period characters as a part of a ` tag ` . However, since
117117the ` tag ` is sometimes used in a different context by output destinations (e.g.
118- table name, database name, key name, etc.), ** it is strongly recommended that
118+ the table name, database name, key name, etc.), ** it is strongly recommended that
119119you stick to the lower-case alphabets, digits and underscore** (e.g.
120120` ^[a-z0-9_]+$ ` ).
121121
@@ -173,7 +173,7 @@ destination (in the above example, only the events with the tag `myapp.access`
173173are matched. See [ the section below for more advanced usage] ( #how-match-patterns-work ) ).
174174The ` @type ` parameter specifies the output plugin to use.
175175
176- Just like input sources, you can add new output destinations by writing your own
176+ Just like input sources, you can add new output destinations by writing custom
177177plugins. For further information regarding Fluentd output destinations, please
178178refer to the [ Output Plugin Overview] ( /plugins/output/README.md ) article.
179179
@@ -219,9 +219,9 @@ information regarding Fluentd filter destinations, please refer to the
219219[ Filter Plugin Overview] ( /plugins/filter/README.md ) article.
220220
221221
222- ## 4. Set system wide configuration: the " system" directive
222+ ## 4. Set system- wide configuration: the ` system ` directive
223223
224- System-wide configurations are set by ** system** directive. Most of them are
224+ System-wide configurations are set by ` system ` directive. Most of them are
225225also available via command line options. For example, the following
226226configurations are available:
227227
@@ -316,7 +316,8 @@ In this configuration, `forward` events are routed to `record_transformer`
316316filter / ` elasticsearch ` output and ` in_tail ` events are routed to ` grep ` filter
317317/ ` s3 ` output inside ` @SYSTEM ` label.
318318
319- The ` label ` parameter is useful for event flow separation without ` tag ` prefix.
319+ The ` label ` parameter is useful for event flow separation without the ` tag `
320+ prefix.
320321
321322
322323### ` @ERROR ` label
@@ -325,10 +326,10 @@ The `@ERROR` label is a builtin label used for error record emitted by plugin's
325326` emit_error_event ` API.
326327
327328If ` <label @ERROR> ` is set, the events are routed to this label when the related
328- errors are emitted e.g. buffer is full or invalid record.
329+ errors are emitted e.g. the buffer is full or the record is invalid .
329330
330331
331- ## 6. Reuse your config: the " @include " directive
332+ ## 6. Reuse your config: the ` @include ` directive
332333
333334The directives in separate configuration files can be imported using the
334335** @include ** directive:
@@ -537,7 +538,7 @@ defined as follows:
537538 - ` <INTEGER>m ` or ` <INTEGER>M ` : number of megabytes
538539 - ` <INTEGER>g ` or ` <INTEGER>G ` : number of gigabytes
539540 - ` <INTEGER>t ` or ` <INTEGER>T ` : number of terabytes
540- - Otherwise, the field is parsed as integer, and that integer is the
541+ - Otherwise, the field is parsed as an integer, and that integer is the
541542 ** number of bytes** .
542543- ` time ` : the field is parsed as a time duration.
543544 - ` <INTEGER>s ` : seconds
@@ -548,11 +549,11 @@ defined as follows:
548549 ** number of seconds** . This option is useful for specifying sub-second
549550 time durations such as 0.1 (0.1 second = 100 milliseconds).
550551- ` array ` : the field is parsed as a JSON array. It also supports the shorthand
551- syntax. These are same values:
552+ syntax. These are the same values:
552553 - normal: ` ["key1", "key2"] `
553554 - shorthand: ` key1,key2 `
554555- ` hash ` : the field is parsed as a JSON object. It also supports the shorthand
555- syntax. These are same values:
556+ syntax. These are the same values:
556557 - normal: ` {"key1": "value1", "key2": "value2"} `
557558 - shorthand: ` key1:value1,key2:value2 `
558559
@@ -654,7 +655,7 @@ host_param "#{hostname}" # This is same with Socket.gethostname
654655```
655656
656657The ` worker_id ` shortcut is useful under multiple workers. For example, for a
657- separate plugin id, add ` worker_id ` to store path in s3 to avoid file conflict.
658+ separate plugin id, add ` worker_id ` to store the path in s3 to avoid file conflict.
658659
659660Since v1.8.0, helper methods ` use_nil ` and ` use_default ` are available:
660661
@@ -674,7 +675,7 @@ The `config-xxx` mixins use `"${}"`, not `"#{}"`. These embedded configurations
674675are two different things.
675676
676677
677- ### In double quoted string literal, ` \ ` is escape character
678+ ### In double- quoted string literal, ` \ ` is the escape character
678679
679680The forward slash ` \ ` is interpreted as an escape character. You need ` \ ` for
680681setting ` " ` , ` \r ` , ` \n ` , ` \t ` , ` \ ` or several characters in double-quoted string
0 commit comments