example/cert_server.conf in fluent-plugin-secure-forward-0.4.2 vs example/cert_server.conf in fluent-plugin-secure-forward-0.4.3
- old
+ new
@@ -1,15 +1,13 @@
<source>
- type secure_forward
+ @type secure_forward
secure yes
- self_hostname server
- # self_hostname tagomoris
+ self_hostname tagomoris
shared_key hogeposxxx0
- cert_path /Users/tagomoris/Documents/fluent-plugin-secure-forward/example/certs/cert.pem
- private_key_path /Users/tagomoris/Documents/fluent-plugin-secure-forward/example/certs/key.pem
- # blank passphrase
- private_key_passphrase
+ cert_path "#{Dir.pwd}/example/certs/cert.pem"
+ private_key_path "#{Dir.pwd}/example/certs/key.pem"
+ private_key_passphrase # blank passphrase
allow_anonymous_source no
authentication yes
<user>
username tagomoris
password 001122
@@ -21,15 +19,14 @@
<user>
username tagomoris
password XXYYZZ
</user>
<client>
- host localhost
+ host 127.0.0.1
users tagomoris
shared_key hogeposxxx1
- # users sugomoris
</client>
</source>
<match test.**>
- type stdout
+ @type stdout
</match>