1 Star 0 Fork 0

lonesoul/filebeat-output-databend

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
config.go 821 Bytes
一键复制 编辑 原始数据 按行查看 历史
lonesoul 提交于 2年前 . feat: init
package filebeat_output_databend
import (
"github.com/elastic/beats/v7/libbeat/outputs/codec"
)
type dataBendConfig 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 = dataBendConfig{
Url: "http://:@127.0.0.1:9000/default",
BulkMaxSize: 1000,
MaxRetries: 3,
RetryInterval: 60,
SkipUnexpectedTypeRow: false,
}
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Go
1
https://gitee.com/shengyuan/filebeat-output-databend.git
git@gitee.com:shengyuan/filebeat-output-databend.git
shengyuan
filebeat-output-databend
filebeat-output-databend
v0.1.2

搜索帮助