Documentation ¶
Overview ¶
Package elasticsearch implements an Elasticsearch batch handler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { BufferSize int // BufferSize is the number of logs to buffer before flush (default: 100) Client Elasticsearch // Client for ES Prefix string // Prefix for the index - The index will be prefix-YY-MM-DD (default: logs) Hostname string // Hostname to add to the logs }
Config for handler.
type Elasticsearch ¶
Elasticsearch interface.
Click to show internal directories.
Click to hide internal directories.