Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SyslogEvent ¶
Representation of syslog event
func ParseEvents ¶
func ParseEvents(logFile string) ([]SyslogEvent, error)
ParseEvents interprets and parses the log file and builds a slice of SyslogEvent structs
func (SyslogEvent) Keywords ¶
func (e SyslogEvent) Keywords() ([]string, bool)
Keywords is a function required for a sigma.Event to be passed to sigma.Rulset.EvalAll
Keywords returns a list of the different keys in our SyslogEvent struct.
func (SyslogEvent) Select ¶
func (e SyslogEvent) Select(name string) (interface{}, bool)
Select is a function required for a sigma.Event to be passed to sigma.Rulset.EvalAll
Select returns the value for a specified key
Click to show internal directories.
Click to hide internal directories.