-
Notifications
You must be signed in to change notification settings - Fork 24.8k
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
Hidden data streams #63987
Hidden data streams #63987
Conversation
This reverts commit 100dba5.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The implementation looks good at first glance. Can you also add a rest test for hiding a data stream? iirc some changes are also needed in security.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this change the behavior of the GetDataStream API? I think we'll need to add the expand_wildcards
option to that API for consistency in the handling of hidden data streams.
Pinging @elastic/es-core-features (:Core/Features/Data streams) |
Thanks for review, could I ask for another round? |
@elasticmachine run elasticsearch-ci/1 |
@elasticmachine run elasticsearch-ci/1 (known unrelated failure) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
* Hidden data streams * whitespace reverted * stricter ds name * Revert "stricter ds name" This reverts commit 100dba5. * String.format removed * fix test * fix GetDataStream action * fix test * fix test * rest test * rest test * spotless * tests * Delete a.json * added expand_wildcards for GetDataStream and DeleteDataStream * unused imports * add hidden setting to data stream template * fix expand_wildcards * spotless * fix compilation * unused import * yaml test * fix test * fix cleanup * review * compilation fix * fix javadoc * fix javadoc
Opened elastic/kibana#83709 to track the need to reflect these changes in the UI. |
This change adds possibility to mark data stream as hidden. To use it you set usual
"index.hidden":true
setting in data stream template.This change also relaxes naming convention for data streams - data stream can start with
.
but can't start with backing index prefix (.ds-
currently) to avoid clashes.Closes #63889