Documentation
¶
Overview ¶
Package collector initializes tcp, udp, and http servers for collecting logs.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // CollectHandler handles the posting of logs via http. It is passed to // the api on start. CollectHandler http.HandlerFunc )
Functions ¶
func GenerateHttpCollector ¶
func GenerateHttpCollector() http.HandlerFunc
GenerateHttpCollector creates and returns an http handler that can be dropped into the api.
func SyslogTCPStart ¶
SyslogTCPStart begins listening to the tcp port then parses and publishes the message
func SyslogUDPStart ¶
SyslogUDPStart begins listening to the syslog port, transfers all syslog messages on the wChan
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.