Versions in this module Expand all Collapse all v1 v1.1.0 Sep 2, 2020 v1.0.0 Sep 2, 2020 Changes in this version + var ErrJSONEncodeFailed = errors.New("json encode failed") + var ErrNotConnected = errors.New("not connected") + func MakeHTTP(_ outputs.IndexManager, _ beat.Info, observer outputs.Observer, ...) (outputs.Group, error) + type Client struct + func NewClient(s ClientSettings) (*Client, error) + func (client *Client) BatchPublishEvent(data []publisher.Event) error + func (client *Client) Clone() *Client + func (client *Client) Publish(batch publisher.Batch) error + func (client *Client) PublishEvent(data publisher.Event) error + func (client *Client) String() string + type ClientSettings struct + BatchPublish bool + CompressionLevel int + ContentType string + Headers map[string]string + Index outil.Selector + Observer outputs.Observer + Parameters map[string]string + Password string + Pipeline *outil.Selector + Proxy *url.URL + TLS *transport.TLSConfig + Timeout time.Duration + URL string + Username string + type Connection struct + ContentType string + Password string + URL string + Username string + func (conn *Connection) Close() error + func (conn *Connection) Connect() error