logstash

package
v0.0.0-...-c2832fb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 29, 2016 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogger

func NewLogger(address string, ssl bool) *tcplog.Logger

Types

type LogstashFormatter

type LogstashFormatter struct{}

func (*LogstashFormatter) Format

func (lf *LogstashFormatter) Format(m *cypress.Message) ([]byte, error)

type Plugin

type Plugin struct {
	Host string
	Ssl  bool
}

func (*Plugin) Receiver

func (p *Plugin) Receiver() (cypress.Receiver, error)

type Send

type Send struct {
	Host string `short:"H" long:"host" description:"Logstash host <host>:<port>"`
	Ssl  bool   `short:"S" long:"tls" default:"false" description:"Use TLS"`
}

func (*Send) Execute

func (p *Send) Execute(args []string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL