elktail icon indicating copy to clipboard operation
elktail copied to clipboard

Accept a list of ElasticSearch URLs

Open boncheff opened this issue 8 years ago • 2 comments

The --url option should accept a list of URLs in case ElasticSearch is runing in a cluster

./elktail --url "s1:9200,s2:9200" -n "500" -t "timestamp" -f "%timestamp : %service : %message :" service:myservice.*

ERROR: Could not connect Elasticsearch client to http://s1:9200,s2:9200: no Elasticsearch node available.

boncheff avatar Jun 10 '16 11:06 boncheff

Verified that elasticsearch client library olivere/elastic.v2 easily supports URL lists so this should not be problematic to add with minor changes to configuration options and options parsing. I'm starting work on this.

knes1 avatar Jun 10 '16 17:06 knes1

Sounds good, thank you

boncheff avatar Jun 13 '16 07:06 boncheff