Title
#kolide
c

crimsonknave

07/24/2020, 4:38 PM
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 portwhen I go to run a live query.
zwass

zwass

07/24/2020, 4:45 PM
Fleet uses the default (0) database. It would not be hard to allow the database number to be configured.
c

crimsonknave

07/24/2020, 4:45 PM
Yeah, I was looking in the code and it appears that redigo supports it via
DialDatabase
, but that isn't used currently.
zwass

zwass

07/24/2020, 4:45 PM
Surprised no one has asked for that before
c

crimsonknave

07/24/2020, 4:45 PM
Would you like me to file an issue?
zwass

zwass

07/24/2020, 4:45 PM
Please do
defensivedepth

defensivedepth

07/24/2020, 7:31 PM
definitely would use this within SecurityOnion
s

Stephan M

07/28/2020, 2:55 PM
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?
zwass

zwass

07/28/2020, 3:46 PM
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.