README.md in fluent-plugin-cat-sweep-0.1.5 vs README.md in fluent-plugin-cat-sweep-0.2.0
- old
+ new
@@ -109,17 +109,24 @@
## Configuration
```
<source>
- type cat_sweep
+ @type cat_sweep
# Required. process files that match this pattern using glob.
file_path_with_glob /tmp/test/file_*
- # Input pattern. It depends on Parser plugin
- format tsv
- keys xpath,access_time,label,payload
+ # Parser Plugin Setting
+ # You can use the old style instead. (Not recommended)
+ # ===
+ # format tsv
+ # keys xpath,access_time,label,payload
+ # ===
+ <parse>
+ @type tsv
+ keys xpath,access_time,label,payload
+ </parse>
# Required. process files that are older than this parameter(seconds).
# [WARNING!!]: this plugin moves or removes files even if the files are still open.
# make sure to set this parameter for seconds that the application closes files definitely.
waiting_seconds 60