1 Star 0 Fork 6

天蚕变 / filebeat-output-clickhouse

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
config.go 809 Bytes
一键复制 编辑 原始数据 按行查看 历史
qinyang 提交于 2021-09-30 11:13 . first
package clickhouse_20200328
import (
"github.com/elastic/beats/v7/libbeat/outputs/codec"
)
type clickHouseConfig struct {
Url string `config:"url"`
Table string `config:"table"`
Columns []string `config:"columns"`
Codec codec.Config `config:"codec"`
BulkMaxSize int `config:"bulk_max_size"`
MaxRetries int `config:"max_retries"`
RetryInterval int `config:"retry_interval"`
SkipUnexpectedTypeRow bool `config:"skip_unexpected_type_row"`
}
var (
defaultConfig = clickHouseConfig{
Url: "tcp://127.0.0.1:9000",
BulkMaxSize: 1000,
MaxRetries: 3,
RetryInterval: 60,
SkipUnexpectedTypeRow: false,
}
)
1
https://gitee.com/taylor_gc/filebeat-output-clickhouse.git
git@gitee.com:taylor_gc/filebeat-output-clickhouse.git
taylor_gc
filebeat-output-clickhouse
filebeat-output-clickhouse
v0.1.0

搜索帮助