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