mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-01-03 01:26:34 +08:00
访问日志ES存储增加Data Stream模式
This commit is contained in:
@@ -4,9 +4,10 @@ package serverconfigs
|
||||
|
||||
// AccessLogESStorageConfig ElasticSearch存储策略
|
||||
type AccessLogESStorageConfig struct {
|
||||
Endpoint string `yaml:"endpoint" json:"endpoint"`
|
||||
Index string `yaml:"index" json:"index"`
|
||||
MappingType string `yaml:"mappingType" json:"mappingType"`
|
||||
Username string `yaml:"username" json:"username"`
|
||||
Password string `yaml:"password" json:"password"`
|
||||
Endpoint string `yaml:"endpoint" json:"endpoint"`
|
||||
Index string `yaml:"index" json:"index"`
|
||||
MappingType string `yaml:"mappingType" json:"mappingType"`
|
||||
Username string `yaml:"username" json:"username"`
|
||||
Password string `yaml:"password" json:"password"`
|
||||
IsDataStream bool `yaml:"isDataStream" json:"isDataStream"` // 是否为Data Stream模式
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user