-
Notifications
You must be signed in to change notification settings - Fork 16
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
Add config for redis data expiration #54
Comments
Good point. I will add it. Thanks |
I dug to add this feature, and for now, it's not possible. The module I use for communication with redisearch is |
I added 500k (507457) events in a local redisearch container, here's the details about memory usage:
I don't know your use-case, but if you have 500k events a year, maybe your rules are not optimum and create flood. |
I have installed falco + falcosidekick-ui on our test cluster before tuning and adjusting rules and it run out of 1GB disk space in less than a week. This is the reason for this request. |
How many events did you get for 1GB? I get your point, it's a really valuable idea and I would like to implement the feature, but the SDK doesn't allow it, here's the function they use to add keys https://github.com/RediSearch/redisearch-go/blob/bd32e0b428fd340ac1bc71812e9e9dcdcc852e52/redisearch/query.go#L417/query.go#L417 |
redisearch-go sdk uses redisgo as background, I could use it also but it means to deal with 2 different clients, which is not a good pattern. the best should be to submit a PR to redisearch to add the feature |
@Issif How to use this setting when setting up sidekick-ui with helm chart? Is there a "ttl" field which can be set inside values.yaml? |
The helm chart is not ready as this feature will be in next falcosidekick-ui release. But yes, an helm value will expose it. |
Issues go stale after 90d of inactivity. Mark the issue as fresh with Stale issues rot after an additional 30d of inactivity and eventually close. If this issue is safe to close now please do so with Provide feedback via https://github.com/falcosecurity/community. /lifecycle stale |
Currently writing data to redis does not set any TTL on the data - this will eventually fill the disk
Please add configuration for the expiration of the data written to redis with default of no expiration
The text was updated successfully, but these errors were encountered: