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

logstash-input-redis: accept an array for the host setting #38

Closed
maximgue opened this issue Mar 23, 2016 · 5 comments
Closed

logstash-input-redis: accept an array for the host setting #38

maximgue opened this issue Mar 23, 2016 · 5 comments

Comments

@maximgue
Copy link

While the logstash-output-redis plugin's host setting accepts an array of hosts, this is currently not the case of logstash-input-redis.

Having the possibility to define an array of Redis hosts from which to read data would be particularly interesting in the case of a master-slave Redis setup (for load-balancing and/or fail-over).

@purbon
Copy link

purbon commented Apr 14, 2016

related to #24

@guyboertje
Copy link
Contributor

It is one thing to make the config an array and quite another to implement load balancing or fail over.
Usually when one uses multiple redis inputs to connect to different redis endpoints.

@purbon
Copy link

purbon commented Apr 14, 2016

yeah, @guyboertje point is a very valid one. I guess here the situation would be to make the at less the input behave a bit closer to the output, things like:

input {
    redis {
        host => "127.0.0.1:6379"
        key => "logstash"
        data_type => "list"
    }
}

will work for the output, but not for the input. Without implementing file over, and more going to what #24 proposes, I guess having this is good. What do you think?

@pemontto
Copy link

👍

@guyboertje
Copy link
Contributor

We will not be adding this feature it can be done with multiple inputs.

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

4 participants