Steps to integrate with aliyun log service
1. Go to the aliyun log server page and create a project, remember the region you select, different region have different access endpoint
Log Service Access Endpoint For Different Region
Aliyun Kafka Input Doc You will need:
- project name
- logstore name
- access key
- access secret
4. Use custom mode to input configure in rancher, sample below. SSL CA certificate could be seen base on the root CA link in aliyun page
CA Base64 Click View in Base64
and copy it to rancher page.
Custom mode configure sample
<match *>
@type kafka_buffered
brokers cn-hangzhou.log.aliyuncs.com:10012
default_topic michelia-logstore
default_message_key content
output_data_type json
output_include_tag true
output_include_time true
username michelia-project
password xxxxx
required_acks 1
compression_codec gzip
ssl_ca_cert /fluentd/etc/config/ssl/project_c-sbkgd_p-g5bt7_ca.pem
</match>
It depends on syslog structure data, not support yet.