Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewLogstashAdapter ¶
func NewLogstashAdapter(route *router.Route) (router.LogAdapter, error)
NewLogstashAdapter creates a LogstashAdapter with UDP as the default transport.
Types ¶
type LogstashAdapter ¶
type LogstashAdapter struct {
// contains filtered or unexported fields
}
LogstashAdapter is an adapter that streams UDP JSON to Logstash.
func (*LogstashAdapter) Stream ¶
func (a *LogstashAdapter) Stream(logstream chan *router.Message)
Stream implements the router.LogAdapter interface.
Click to show internal directories.
Click to hide internal directories.