juhaszviktor / syslog-ng-incubator

Experimental modules for syslog-ng 3.5+
Other
0 stars 0 forks source link

Enhancement: elasticsearch list of servers for connection #3

Open faxm0dem opened 9 years ago

faxm0dem commented 9 years ago

Use a list for server instead of a string: usually ppl have multiple nodes in cluster, and this could also autodiscover when left empty

juhaszviktor commented 9 years ago

I don't know how can we do the autodiscovering method. Have you any idea? I ask it, because you know the elasticsearch better, than me.

faxm0dem commented 9 years ago

To add more than one server, we can simply call .addTransportAddress() multiple times. For autodiscover, I think we need to set up a node client as opposed to transport client. I think the former feature is more important.