Conversation
This reverts commit 100dba5.
martijnvg
left a comment
There was a problem hiding this comment.
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.
danhermann
left a comment
There was a problem hiding this comment.
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) |
* 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":truesetting 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