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

Support sprintf-formatting for retention_policy #73

Open
Thor77 opened this issue Oct 26, 2017 · 0 comments
Open

Support sprintf-formatting for retention_policy #73

Thor77 opened this issue Oct 26, 2017 · 0 comments

Comments

@Thor77
Copy link

Thor77 commented Oct 26, 2017

I have a Logstash-configuration which gathers data from multiple inputs with different intervals but writes them to the same database.
In this case I would like to choose a lower retention time for the input with lower intervals to not need more storage.
As the retention_policy-argument doesn't support sprintf-formatting, though, I don't see a way to realise this without splitting my config (which I would like to avoid).
Am I missing anything? Is there a better/any way to accomplish this at the moment?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant