-
Notifications
You must be signed in to change notification settings - Fork 529
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
Have no settings for set custom rollover_alias #3779
Comments
Hi @MaxymVlasov, you are right that we currently do not support setting custom I'll label this issue as enhancement request and investigate how much effort it would be to add support in the APM Server. |
We also need ILM, because time to time we have logs/metrics peaks and get up to 10 more data in this periods, so day-by-day rotation is not works for us very well => In same time, I have many projects with +- same settings, so for me "Everything as Code" better than any manual work in long term. |
This has been implemented with #3826. The configuration for |
Thank you! I will definitely try when v7.9.0 will be released. |
* Refactor ILM config loading and conditional index selection * Make rollover_alias configurable and document it closes elastic#3779
Hi!
I need to set custom
rollover_alias
how I did it infilebeat
, but found that APM have no configuration for it.I searching how it can be done and found that in template.go exist
"lifecycle.rollover_alias": name,
construction introduced in #2099. But I have no idea how I can use it.So, this is or feature request or docs improvement request.
Here how it looks like in filebeat:
Use case
Now we use one EFK for all environments. Each environment have it own ILM policy with different settings.
![](https://camo.githubusercontent.com/e80468e2918d13fb53878e4b74cc6626bdcd686024d693b7644f25bcf9919c9c/687474703a2f2f692e70696363792e696e666f2f69392f66643666333130326132656461353736663663316362303637313533336535382f313538383935373133352f383630322f313337303439392f53637265656e73686f745f66726f6d5f323032305f30355f30385f31395f35315f30342e706e67)
So I need setup all indexes like this:
Otherwise, data from all envs will be mixed in one index.
But this not works for APM, so now I must use different APM-server versions in each environment.
![](https://camo.githubusercontent.com/88e01723c41b7e87dbffce3c27cd54958e39ba4de3f3e8c7d261d4f470deb3ce/687474703a2f2f692e70696363792e696e666f2f69392f64363833623861386262373234303131623538343031373335646435656636352f313538383935373437352f373336322f313337303439392f53637265656e73686f745f66726f6d5f323032305f30355f30385f31395f35375f31362e706e67)
The text was updated successfully, but these errors were encountered: