Skip to content

Commit 2852fb6

Browse files
config: yaml: Add the Parse setting in Format Tips section
Signed-off-by: Shingo Nakayama <[email protected]>
1 parent 0dc3c5a commit 2852fb6

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

configuration/config-file-yaml.md

+14
Original file line numberDiff line numberDiff line change
@@ -552,4 +552,18 @@ The backslash `\` is interpreted as an escape character. You need `\` for settin
552552
str_param: "foo\nbar" # \n is interpreted as actual LF character
553553
```
554554

555+
### Parse setting
556+
You can use `parse:` to set up parse.
557+
Example: in_tail plugin
558+
```yaml
559+
config:
560+
- source:
561+
$type: tail
562+
tag: sample
563+
path: /tmp/test.log
564+
pos_file: /tmp/tail-test.pos
565+
parse:
566+
$type: none
567+
```
568+
555569
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 commit comments

Comments
 (0)