When using ILM to reduce index, the new index change its name: "shrink-zda-original".
When using security, we configure some permissions to "original" index.
ILM will break permissions, this is really annoying using elastic-hadoop library because the lib uses the index behind the alias, hence give security errors.
As a dirty workaround, I see also permissions against:
indices:
- names:
- events
- "events-*"
- "shrink-*-events-*"
privileges:
- read