1 Star 0 Fork 0

sqos/beats

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
config.go 485 Bytes
Copy Edit Raw Blame History
urso authored 2016-03-22 20:43 +08:00 . Update ucfg to v0.1.1
package mongodb
import (
"github.com/elastic/beats/packetbeat/config"
"github.com/elastic/beats/packetbeat/protos"
)
type mongodbConfig struct {
config.ProtocolCommon `config:",inline"`
MaxDocLength int `config:"max_doc_length"`
MaxDocs int `config:"max_docs"`
}
var (
defaultConfig = mongodbConfig{
ProtocolCommon: config.ProtocolCommon{
TransactionTimeout: protos.DefaultTransactionExpiration,
},
MaxDocLength: 5000,
MaxDocs: 10,
}
)
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/sqos/beats.git
git@gitee.com:sqos/beats.git
sqos
beats
beats
v5.0.0-alpha2

Search