Files
EdgeCommon/pkg/serverconfigs/access_log_storage_es.go

14 lines
559 B
Go
Raw Normal View History

2024-05-17 18:28:59 +08:00
// Copyright 2021 GoEdge CDN goedge.cdn@gmail.com. All rights reserved.
2021-07-29 16:51:11 +08:00
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"`
IsDataStream bool `yaml:"isDataStream" json:"isDataStream"` // 是否为Data Stream模式
2021-07-29 16:51:11 +08:00
}