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

Do not rely on index template for Kibana's user session index #134897

Closed
legrego opened this issue Jun 22, 2022 · 1 comment · Fixed by #134900
Closed

Do not rely on index template for Kibana's user session index #134897

legrego opened this issue Jun 22, 2022 · 1 comment · Fixed by #134900
Assignees
Labels
chore Feature:Security/Session Management Platform Security - Session Management Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!

Comments

@legrego
Copy link
Member

legrego commented Jun 22, 2022

The Elasticsearch Core Infra team is trying to fix an outstanding issue our users run into with system indices and templates. Essentially, Elasticsearch user index templates impact system indices in unexpected ways during upgrades, leading to unusable clusters. They are planning on preventing user defined templates to affect system indices in 8.4, which is what the original design intent of system indices was (but it was never implemented).

Our session index is currently configured using an index template. If we don't change anything, then
elastic/elasticsearch#87260 will break our session index, because it will no longer use the template we've configured.

We should:

  • Move the index mapping and settings out of the template, and define them on the index itself.
  • Delete the index template if it already exists in the cluster.
@legrego legrego added chore Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! Feature:Security/Session Management Platform Security - Session Management labels Jun 22, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chore Feature:Security/Session Management Platform Security - Session Management Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants