Is fleet able to use a shared redis cluster? The c...
# kolide
c
Is fleet able to use a shared redis cluster? The connection string I've been given looks like
hostname:6379/17
(It's database 17 on that redis cluster.) But, when I put that in the
KOLIDE_REDIS_ADDRESS
entry I see `Warning! Live query disabled due to error: reading from redis: dial tcp: address tcp/6379/17: unknown port`when I go to run a live query.
z
Fleet uses the default (0) database. It would not be hard to allow the database number to be configured.
c
Yeah, I was looking in the code and it appears that redigo supports it via
DialDatabase
, but that isn't used currently.
z
Surprised no one has asked for that before
💯 2
c
Would you like me to file an issue?
z
Please do
d
definitely would use this within SecurityOnion
s
It looks like https://github.com/kolide/fleet/pull/2269 adds support for this. Is that something we could get in a dot release as I'm also in need of not using the default redis database or is a new release quite a while out?
z
Nice! I can review that and get it merged soon. I can cut a release if it's going to be useful to a handful of folks.
👍 1
🙇‍♂️ 2