Skip to content

Commit 304b410

Browse files
authored
Merge pull request #412 from daipom/1.0-fix-config-yaml-wrong-setting
Fix wrong settings
2 parents c39f708 + 4d72798 commit 304b410

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

configuration/config-file-yaml.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ config:
357357
# If you do, Fluentd will just emit events without applying the filter.
358358
359359
- filter:
360-
$tag:myapp.access>
360+
$tag: myapp.access
361361
$type: record_transformer
362362
...
363363
@@ -374,8 +374,8 @@ When using YAML format syntax in Fluentd configuration, you can use `!fluent/s "
374374
```text
375375
config:
376376
- match:
377-
$tag: fluent/s "app.#{ENV['FLUENTD_TAG']}"
378-
$type: stdout
377+
$tag: fluent/s "app.#{ENV['FLUENTD_TAG']}"
378+
$type: stdout
379379
```
380380

381381
If you set the environment variable `FLUENTD_TAG` to `dev`, this evaluates to `app.dev`.
@@ -439,10 +439,10 @@ Example \# 2: map plugin
439439
```text
440440
config:
441441
- match:
442-
$tag:tag
443-
$type: map
444-
map: '[["code." + tag, time, { "code" => record["code"].to_i}], ["time." + tag, time, { "time" => record["time"].to_i}]]'
445-
multi: true
442+
$tag:tag
443+
$type: map
444+
map: '[["code." + tag, time, { "code" => record["code"].to_i}], ["time." + tag, time, { "time" => record["time"].to_i}]]'
445+
multi: true
446446
```
447447

448448
This restriction will be removed with the configuration parser improvement.

0 commit comments

Comments
 (0)