fluent / fluentd-docs

This repository is deprecated. Go to fluentd-docs-gitbook repository.
49 stars 119 forks source link

Close direction of the match directive Typo #621

Closed sandats closed 5 years ago

sandats commented 5 years ago

The match directive in the URL below is closed with source, but is not it closed with a match? https://docs.fluentd.org/v1.0/articles/output-plugin-overview

<match myservice_name>
  @type file
  path /my/data/access.${tag}.%Y-%m-%d.%H%M.log
  <buffer tag,time>
    @type file
    path /my/buffer/myservice
    timekey     60m
    timekey_wait 1m
  </buffer>
</source>

It worked correctly when closed with match.

<match myservice_name>
  @type file
  path /my/data/access.${tag}.%Y-%m-%d.%H%M.log
  <buffer tag,time>
    @type file
    path /my/buffer/myservice
    timekey     60m
    timekey_wait 1m
  </buffer>
</match>

The explanation of Fluentd v0.12 was similarly closed with source.

repeatedly commented 5 years ago

Ah, our mistake. Could you send a patch?

sandats commented 5 years ago

Thank you for confirmation. I will create a patch and send it.