tsaikd / gogstash

Logstash like, written in golang
MIT License
644 stars 106 forks source link

Support multiple elasticsearch endpoints. #62

Closed jbuchbinder closed 6 years ago

jbuchbinder commented 6 years ago

Simple patch to enable multiple elasticsearch endpoints in the "elastic" output module (for those of us who have redundant or clustered setups).

This may break existing configuration, as it expects an array, rather than a string, to be presented by the module's configuration.