Documentation
¶
Index ¶
Constants ¶
View Source
const ( JSONLogFormat = "json" TextLogFormat = "text" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
Log LogConfig
SSHRecorder SSHRecorderConfig
Loghead LogheadConfig
NodeMetrics NodeMetricsConfig
}
func LoadConfig ¶
type FileLoggerConfig ¶
func GetFileLoggerConfig ¶
func GetFileLoggerConfig() FileLoggerConfig
type ForwardingConfig ¶
func GetForwardingConfig ¶
func GetForwardingConfig() ForwardingConfig
type Listener ¶
func MakeListener ¶
type ListenerConfig ¶
func GetListenerConfig ¶
func GetListenerConfig(base string) ListenerConfig
type LogConfig ¶
func GetLogConfig ¶
func GetLogConfig() LogConfig
type LogheadConfig ¶
type LogheadConfig struct {
Processors ProcessorConfig
Listener ListenerConfig
}
func GetLogheadConfig ¶
func GetLogheadConfig() LogheadConfig
type NodeMetricsConfig ¶
type NodeMetricsConfig struct {
Enabled bool
Targets []string
Listener ListenerConfig
}
func GetNodeMetricsConfig ¶
func GetNodeMetricsConfig() NodeMetricsConfig
type ProcessorConfig ¶
type ProcessorConfig struct {
FileLogger FileLoggerConfig
Metrics bool
Hostinfo bool
Forward ForwardingConfig
}
func GetProcessorConfig ¶
func GetProcessorConfig() ProcessorConfig
type SSHRecorderConfig ¶
type SSHRecorderConfig struct {
Dir string
Listener ListenerConfig
}
func GetSSHRecorderConfig ¶
func GetSSHRecorderConfig() SSHRecorderConfig
Click to show internal directories.
Click to hide internal directories.