Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

config: yaml: Add the Parse setting in Format Tips section #499

Merged
merged 2 commits into from
May 10, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Shingo-Nakayama marked this conversation as resolved.
Show resolved Hide resolved
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.