Open hubbleview opened 2 years ago
Pinging @elastic/kibana-reporting-services (Team:Reporting Services)
Or, migrating reporting index to data stream.
Pinging @elastic/kibana-app-services (Team:AppServicesUx)
Or, migrating reporting index to data stream.
@hubbleview Reporting uses a data stream configuration as of #176022 but I'm not sure if it sufficiently takes care of this issue.
Kibana version: 7.16.3
Describe the bug:
Since https://github.com/elastic/kibana/pull/100130 and https://github.com/elastic/kibana/pull/103850, by default, reporting index will be applied ILM policy
kibana-reporting
, which has the default policy as below.And, this ILM policy allows to be customized.
When adding rollover action in the policy, which is common and reasonable request, these reporting indices start to see errors about ILM, like below.
In above ILM explain output, we could see the updated policy
kibana-reporting
with rollover action.The exception is because, the default reporting index name is
.reporting-${date}
, which doesn't match ILM rollover pattern. The initial index name should be like.reporting-${date}-000001
to allow rollover to happen.Steps to reproduce:
kibana-reporting
policy to add rollover action.GET .reporting-*/_ilm/explain
output.Expected behavior:
kibana-reporting
.