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

Add hidden field to data stream #660

Merged
merged 4 commits into from
Dec 10, 2020
Merged

Add hidden field to data stream #660

merged 4 commits into from
Dec 10, 2020

Conversation

nnamdifrankie
Copy link
Contributor

@nnamdifrankie nnamdifrankie commented Dec 8, 2020

Issue: elastic/security-team#548

This PR adds hidden property to data stream. The hidden field allows fleet to mark the data stream as hidden elastic/elasticsearch#63987 . This hidden feature is needed for issue 548 to hide the data stream from views.

hidden field

Further, the hidden field will correspond with this ES change: elastic/elasticsearch#63987 . We want to give the flexibility for package authors to denote a data stream as hidden for purposes such as this where a data stream is not intended for app specific usage and should be hidden to reduce user confusion.

Our specific use case, again, has to do with a data stream that is intended to be queried by a separate telemetry server. As a result, we want the data stream to be hidden to reduce user confusion.

@elasticmachine
Copy link

elasticmachine commented Dec 8, 2020

💚 Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS
Pipeline View Test View Changes Artifacts preview

Expand to view the summary

Build stats

  • Build Cause: Pull request #660 updated

  • Start Time: 2020-12-10T10:43:10.783+0000

  • Duration: 6 min 43 sec

Test stats 🧪

Test Results
Failed 0
Passed 167
Skipped 0
Total 167

@mtojek mtojek self-requested a review December 9, 2020 08:42
Copy link
Contributor

@mtojek mtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have a similar comment (see: #657 (review)) for this PR.

@kevinlog
Copy link
Contributor

kevinlog commented Dec 9, 2020

@mtojek added the test package, see this comment #657 (comment)

Copy link
Contributor

@mtojek mtojek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

CHANGELOG.md Outdated
@@ -14,7 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* Add "traces" as legal event type. [#656](https://github.com/elastic/package-registry/pull/656)
* Add input-level `template_path` field. [#655](https://github.com/elastic/package-registry/pull/655)

* Add hidden field to data stream. [#660] (https://github.com/elastic/package-registry/pull/660)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: hidden or "hidden"

in this case a hidden field may sound confusing :)

@kevinlog kevinlog merged commit 8b92a02 into master Dec 10, 2020
@kevinlog kevinlog deleted the add-hidden-to-datastream branch December 10, 2020 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants