[question] Secondary the require secure_forward config? or not support?
bootjp opened this issue · comments
Yoshiaki Ueda (bootjp) commented
Hi,
An error of the 2 will occur in the following the 1 setting file.
Is "secondary" not supported in "secure_forward"?
Or is it limited to secure_forward?
I am considering using S3 as a fallback destination of "secure_forward" destination.
- fluent conf
<match log>
@type secure_forward
secure yes
shared_key "#{ENV['SHARD_KEY']}"
self_hostname "{Socket.gethostname}"
ca_cert_path /path/to/local_ca_cert.pem
<server>
host receiver
port 24284
</server>
<secondary>
type s3
aws_key_id access_key
aws_sec_key secret_key
s3_bucket my-local-bucket
s3_endpoint http://minio:9000/
s3_region us-east-1
s3_object_key_format %{path}.%{index}.%{file_extension}
path send_err
buffer_path /buffer/send_err
time_slice_format %Y%m%d
time_slice_wait 1m
flush_interval 1s # debug
</secondary>
</match>
2 error
fluentd_1 | 2018-08-07 16:25:30 +0900 [error]: config error in:
fluentd_1 | <secondary>
fluentd_1 | type s3
fluentd_1 | aws_key_id access_key
fluentd_1 | aws_sec_key secret_key
fluentd_1 | s3_bucket my-local-bucket
fluentd_1 | s3_endpoint http://minio:9000/
fluentd_1 | s3_region us-east-1
fluentd_1 | s3_object_key_format %{path}.%{index}.%{file_extension}
fluentd_1 | path send_err
fluentd_1 | buffer_path /buffer/send_err
fluentd_1 | time_slice_format %Y%m%d
fluentd_1 | time_slice_wait 1m
fluentd_1 | flush_interval 1s
fluentd_1 | </secondary>
fluentd_1 | 2018-08-07 16:25:30 +0900 [error]: config error file="/fluentd/etc/fluent_local.conf" error="'secure' parameter is required"
Yoshiaki Ueda (bootjp) commented
im sorry i had overlooking this,
this issues is closed.
'NOTE: This plugin will not be updated anymore.'