Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accept a list of ElasticSearch URLs #5

Open
boncheff opened this issue Jun 10, 2016 · 2 comments
Open

Accept a list of ElasticSearch URLs #5

boncheff opened this issue Jun 10, 2016 · 2 comments
Assignees

Comments

@boncheff
Copy link

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 boncheff changed the title Accept a list of ElasticSearch URLs instead of just one Accept a list of ElasticSearch URLs Jun 10, 2016
@knes1 knes1 added this to the v0.1.5 milestone Jun 10, 2016
@knes1 knes1 self-assigned this Jun 10, 2016
@knes1
Copy link
Owner

knes1 commented Jun 10, 2016

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.

@boncheff
Copy link
Author

Sounds good, thank you

@knes1 knes1 removed this from the v0.1.5 milestone Nov 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants