add a hint to possible basic authentication settings

This commit is contained in:
Christian Eichelmann
2016-11-23 10:51:14 +01:00
committed by Cameron Sparr
parent 4f6087a99d
commit efb64a049f
3 changed files with 5 additions and 0 deletions

View File

@@ -60,6 +60,8 @@ type indexHealth struct {
const sampleConfig = `
## specify a list of one or more Elasticsearch servers
# you can add username and password to your url to use basic authentication:
# servers = ["http://user:pass@localhost:9200"]
servers = ["http://localhost:9200"]
## Timeout for HTTP requests to the elastic search server(s)