-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Convert Kibana system indices to be hidden #113056
Comments
Pinging @elastic/kibana-core (Team:Core) |
Pinging @elastic/apm-ui (Team:apm) |
Pinging @elastic/kibana-security (Team:Security) |
Shouldn't |
@pgayvallet We could, which is the way we used to treat dot-prefixed indices. But the point of this issue is that ES now supports the hidden index setting, which is intended to replace dot-prefixes, and we should migrate to using it. |
My suggestion would be to continue using dot-prefixes and also to use the hidden index setting. This way we conform to the way ES expects this setting to be used and we can use the dot-prefix to identify those indices that manage Kibana internals. |
Just to be sure, are ES internal system indices using this |
As per my comment in #112990 Why we can't have a simple naming convention and stick to it everywhere in the stack. |
Performing the following API requests on the latest Elasticsearch snapshot confirms that
Given that system and hidden indices are distinct concepts it wouldn't make sense for us to mark the At some point before 8.0 the Elasticsearch system index behaviour will change and system indices shouldn't be returned from API requests such as |
Thanks for looking into this @rudolf. So you are saying that all the indices starting with a period below will not be returned by ES at some point before |
Yes, that's been my understanding. Unfortunately I don't have an issue to link to. |
@elastic/es-core-infra Could you please confirm Rudolf's understanding and link to an issue we can follow? |
That understanding is correct. We expect to flip the switch to block access to system indices under elastic/elasticsearch#67384. |
@rudolf sorry I misread this - for the GET API it will not be returned. For the CAT API I'm assuming it's also the same answer, but I want to double check with @gwbrown @williamrandolph first. |
We've had some late-breaking changes to expected behavior for system indices.
|
Thanks everyone for the discussion and updates. Closing this issue because it's obsolete. |
EDIT: The below issue was written under the mistaken belief that the system indices work had already been implemented on the ES side, and that any indices now showing up in Index Management needed to be updated to be
hidden
. It's starting to sound like this was incorrect, and that this work is still pending. Once we confirm this to be the case I'll close this issue.In 8.0, Index Management is no longer treating dot-prefixed indices as hidden (#112990). Instead, these indices will need to be defined as
index.hidden
.When Kibana boots up, I see the following indices using dot-prefixes. They need to be migrated to use the
index.hidden
setting too. See #81536 for some background on these indices.The text was updated successfully, but these errors were encountered: