elasticsearch

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2021 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Balance added in v0.2.4

func Balance(urls []string) string

func BuildElasticClient

func BuildElasticClient(elasticConfig config.Elasticsearch) (*elastic.Client, error)

func BuildIndexName

func BuildIndexName(elasticConfig config.Elasticsearch) string

func BuildIndexNameWithTime

func BuildIndexNameWithTime(elasticConfig config.Elasticsearch, timeToAppend time.Time) string

func BuildIndexPattern

func BuildIndexPattern(elasticConfig config.Elasticsearch) string

func CreateLogstashClient added in v0.1.0

func CreateLogstashClient(logstashURL []string) (net.Conn, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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