Skip to content

Commit

Permalink
config: yaml: Add the Parse setting in Format Tips section
Browse files Browse the repository at this point in the history
Signed-off-by: Shingo Nakayama <[email protected]>
  • Loading branch information
Shingo-Nakayama committed May 9, 2024
1 parent 0dc3c5a commit 2852fb6
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions configuration/config-file-yaml.md
Original file line number Diff line number Diff line change
Expand Up @@ -552,4 +552,18 @@ The backslash `\` is interpreted as an escape character. You need `\` for settin
str_param: "foo\nbar" # \n is interpreted as actual LF character
```

### Parse setting
You can use `parse:` to set up parse.
Example: in_tail plugin
```yaml
config:
- source:
$type: tail
tag: sample
path: /tmp/test.log
pos_file: /tmp/tail-test.pos
parse:
$type: none
```

If this article is incorrect or outdated, or omits critical information, please [let us know](https://github.com/fluent/fluentd-docs-gitbook/issues?state=open). [Fluentd](http://www.fluentd.org/) is an open-source project under [Cloud Native Computing Foundation \(CNCF\)](https://cncf.io/). All components are available under the Apache 2 License.

0 comments on commit 2852fb6

Please sign in to comment.