Documentation
¶
Overview ¶
Package es implements an Elasticsearch batch handler. Currently this implementation assumes the index format of "logs-YY-MM-DD".
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)
Format string // Format for index
Client Elasticsearch // Client for ES
}
Config for handler.
type Elasticsearch ¶
Elasticsearch interface.
Click to show internal directories.
Click to hide internal directories.