Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "elastic"
)
Variables ¶
This section is empty.
Functions ¶
func InitHandler ¶
func InitHandler(confraw *config.ConfigRaw) (retconf config.TypeOutputConfig, err error)
Types ¶
type OutputConfig ¶
type OutputConfig struct { config.OutputConfig URL string `json:"url"` Index string `json:"index"` DocumentType string `json:"document_type"` DocumentID string `json:"document_id"` Sniff bool `json:"sniff"` // find all nodes of your cluster, https://github.com/olivere/elastic/wiki/Sniffing // contains filtered or unexported fields }
func DefaultOutputConfig ¶
func DefaultOutputConfig() OutputConfig
Click to show internal directories.
Click to hide internal directories.