Is there a way to give logstash jdbc plugin several db servers (all replicas of same master) to connect to? Do you just provide an array of connection strings? or what?
No, the connection string is validated as a string, not an array.
The jdbc input is a wrapper around the jdbc mixin, which is a wrapper around Jermey Evans' sequel toolkit. That has adapters for several oft-used databases. If the adapter (effectively the underlying DB vendor's API) supports multiple host names in a single connection string then it may be possible.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.