elasticsearch

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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