访问日志ES存储增加Data Stream模式

This commit is contained in:
刘祥超
2022-08-09 18:12:15 +08:00
parent 25e33ac1ee
commit 525429bbb0

View File

@@ -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模式
}