Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JournalTargetConfig ¶
type JournalTargetConfig struct {
// Array of match strings, like "SYSLOG_IDENTIFIER=sshd"
Matches []string
Database string
Table string
// LogLineParsers is a list of parsers to apply to each log line.
LogLineParsers []parser.Parser
// JournalFields is a list of journal fields to include in the log.
JournalFields []string
}
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source reads logs from the journald journal. Implements the Source interface.
type SourceConfig ¶
type SourceConfig struct {
Targets []JournalTargetConfig
CursorDirectory string
WorkerCreator engine.WorkerCreatorFunc
}
Click to show internal directories.
Click to hide internal directories.