Documentation
¶
Overview ¶
Author: HansenH
This module parses Fortigate syslogs. (format: `DATETIME HOST <PRI>k=v k=v ...`). It only traverse the byte slice once without using regular expressions.
Author: HansenH
This module parses Fortigate syslogs. (format: `DATETIME HOST <PRI>k=v k=v ...`). It only traverse the byte slice once without using regular expressions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FtSyslog ¶
type FtSyslog struct { Datetime string Host string PRI string Msg map[string]string // string values contain raw escaped chars with backslash. }
type SyslogFormatError ¶
type SyslogFormatError struct {
// contains filtered or unexported fields
}
func (*SyslogFormatError) Error ¶
func (e *SyslogFormatError) Error() string
Click to show internal directories.
Click to hide internal directories.