Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterParserPlugins ¶
func RegisterParserPlugins()
RegisterParserPlugins register the used parser plugins.
Types ¶
type Parser ¶
type Parser interface {
plugin.Plugin
// ParseBytes parse the byte buffer into events.
ParseBytes(bytes []byte) (event.BatchEvents, error)
// ParseStr parse the string into events.
ParseStr(str string) (event.BatchEvents, error)
}
Parser is a plugin interface, that defines new Parsers for Collector plugin.
Click to show internal directories.
Click to hide internal directories.