Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Collection ¶
func (*Collection) AddLogFile ¶
func (config *Collection) AddLogFile(filePath, logGroupName, logStreamName string, timestampFormat, timezone, multiLineStartPattern, encoding string, retention int)
func (*Collection) AddWindowsEvent ¶
func (config *Collection) AddWindowsEvent(eventName, logGroupName, logStreamName, eventFormat string, eventLevels []string, retention int)
type Config ¶
type Config struct {
FilePath string `file_path`
LogGroup string `log_group_name`
LogStream string `log_stream_name`
TimestampFormat string `timestamp_format`
Timezone string `timezone`
MultiLineStartPattern string `multi_line_start_pattern`
Encoding string `encoding`
Retention int `retention_in_days`
}
type EventConfig ¶
Click to show internal directories.
Click to hide internal directories.