Documentation ¶
Index ¶
- func Balance(urls []string) string
- func BuildElasticClient(elasticConfig config.Elasticsearch) (*elastic.Client, error)
- func BuildIndexName(elasticConfig config.Elasticsearch) string
- func BuildIndexNameWithTime(elasticConfig config.Elasticsearch, timeToAppend time.Time) string
- func BuildIndexPattern(elasticConfig config.Elasticsearch) string
- func CreateLogstashClient(logstashURL []string) (net.Conn, error)
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.