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

Allow elasticsearch.host property to be an array #131

Open
dpb587 opened this issue Jun 3, 2015 · 1 comment
Open

Allow elasticsearch.host property to be an array #131

dpb587 opened this issue Jun 3, 2015 · 1 comment

Comments

@dpb587
Copy link
Contributor

dpb587 commented Jun 3, 2015

Primarily for readability, but it also would be easier for other deployment manifest tools which can embed existing data.

Confusing...

properties: 
  elasticsearch:
    host: "0.api.silo-private.sanity-test.bosh,0.elasticsearch.silo-private.sanity-test.bosh,1.elasticsearch.silo-private.sanity-test.bosh"

Better...

properties: 
  elasticsearch:
    host:
      - 0.api.silo-private.sanity-test.bosh
      - 0.elasticsearch.silo-private.sanity-test.bosh
      - 1.elasticsearch.silo-private.sanity-test.bosh

This was originally a string from when logstash needed to talk directly to a single host rather than to a local elasticsearch process.

@ghost
Copy link

ghost commented Oct 12, 2015

+1

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

1 participant