example2.conf in fluent-plugin-watch-process-0.0.3 vs example2.conf in fluent-plugin-watch-process-0.1.0
- old
+ new
@@ -3,23 +3,24 @@
# this guide using following plugins.
# * fluent-plugin-watch-process
# * fluent-plugin-s3
<source>
- type watch_process
+ @type watch_process
# use ${hostname} placeholder to use filename
+ # If you want to customize it, Use #{Socket.gethostname} or #{Socket.gethostname.split('.').first} snippet for tag.
tag batch_process.${hostname}
# filter specific user owned process. if no need to filter, delete this line.
lookup_user batchuser
# ps command execute interval time
interval 1s
</source>
<match batch_process.*>
- type s3
+ @type s3
aws_key_id YOUR_AWS_KEY_ID
aws_sec_key YOUR_AWS_SECRET/KEY
s3_bucket YOUR_S3_BUCKET_NAME
s3_endpoint s3-ap-northeast-1.amazonaws.com