Documentation
日志服务cls logtash sdk
Install the plugin
you can build the gem and install it using: Install the plugin from the Logstash home
logstash-plugin install logstash-output-cls
Start Logstash
logstash -f logstash-sample.conf
Usage
input {
}
filter {
}
output {
cls{
endpoint => "[CLS数据接入域名]"
topic_id => "[日志主题id]"
access_key_id => ""
access_key_secret => ""
}
}
Logstash Logservice Input Configuration Options
Configuration Type Required Comments endpoint string true Your project endpoint access_id string true Your access id access_key string true Your access key topic_id string true Your topic id
Latest Release
- RubyGems: logstash-output-cls 0.1.5
- Tested on: Logstash 6.4.3
- OS supported: mac 10.14.1, windows 7, Linux (CentOS 7)