Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PriorityMap = map[int]logstd.Level{ 0: log.PanicLevel, 1: log.PanicLevel, 2: log.PanicLevel, 3: log.ErrorLevel, 4: log.WarnLevel, 5: log.InfoLevel, 6: log.InfoLevel, 7: log.DebugLevel, }
Functions ¶
Types ¶
type InputConfig ¶
type JournalMessage ¶
type JournalMessage struct {
Cursor string `json:"__CURSOR"`
RealtimeTimestamp string `json:"__REALTIME_TIMESTAMP"`
MonotonicTimestamp string `json:"__MONOTONIC_TIMESTAMP"`
TimestampMonotonic string `json:"TIMESTAMP_MONOTONIC"`
TimestampBoottime string `json:"TIMESTAMP_BOOTTIME"`
SourceMonotonicTimestamp string `json:"_SOURCE_MONOTONIC_TIMESTAMP"`
UID string `json:"_UID"`
GID string `json:"_GID"`
Transport string `json:"_TRANSPORT"`
Priority string `json:"PRIORITY"`
SyslogFacility string `json:"SYSLOG_FACILITY"`
SyslogIdentifier string `json:"SYSLOG_IDENTIFIER"`
SystemdCGroup string `json:"_SYSTEMD_CGROUP"`
SystemdUnit string `json:"_SYSTEMD_UNIT"`
SystemdSlice string `json:"_SYSTEMD_SLICE"`
SystemdInvocationID string `json:"_SYSTEMD_INVOCATION_ID"`
BootID string `json:"_BOOT_ID"`
MachineID string `json:"_MACHINE_ID"`
Hostname string `json:"_HOSTNAME"`
Message string `json:"MESSAGE"`
}
Click to show internal directories.
Click to hide internal directories.