Documentation ¶
Index ¶
- func NewUnifytlogcFormatter(config *config.TaskConfig) (*unifytlogcFormatter, error)
- func NewV1Formatter(config *config.TaskConfig) (*v1Formatter, error)
- func NewV2Formatter(config *config.TaskConfig) (*v2Formatter, error)
- type ContainerStdoutFields
- type LogConfig
- type TQOSFormatter
- type TQOSLogConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewUnifytlogcFormatter ¶
func NewUnifytlogcFormatter(config *config.TaskConfig) (*unifytlogcFormatter, error)
NewUnifytlogcFormatter: 兼容unifytlogc输出格式
func NewV1Formatter ¶
func NewV1Formatter(config *config.TaskConfig) (*v1Formatter, error)
NewV1Formatter: 兼容bklogbeat输出格式
func NewV2Formatter ¶
func NewV2Formatter(config *config.TaskConfig) (*v2Formatter, error)
NewV2Formatter: bkunifylogbeat日志采集输出格式
Types ¶
type ContainerStdoutFields ¶
type LogConfig ¶
type LogConfig struct {
HarvesterLimit int `config:"harvester_limit"`
}
如果未配置close_inactive则直接默认为5分钟
type TQOSFormatter ¶
type TQOSFormatter struct {
// contains filtered or unexported fields
}
func NewTQOSFormatter ¶
func NewTQOSFormatter(config *config.TaskConfig) (*TQOSFormatter, error)
NewTQOSFormatter: 兼容TQOS输出格式
type TQOSLogConfig ¶
type TQOSLogConfig struct {
HarvesterLimit int `config:"harvester_limit"`
}
如果未配置close_inactive则直接默认为5分钟
Click to show internal directories.
Click to hide internal directories.