Skip to content

[7.9] [Ingest Manager] Adjust dataset aggs to use datastream fields instead (#74342)#74356

Merged
ruflin merged 2 commits intoelastic:7.9from
skh:backport/7.9/pr-74342
Aug 5, 2020
Merged

[7.9] [Ingest Manager] Adjust dataset aggs to use datastream fields instead (#74342)#74356
ruflin merged 2 commits intoelastic:7.9from
skh:backport/7.9/pr-74342

Conversation

@skh
Copy link
Copy Markdown
Contributor

@skh skh commented Aug 5, 2020

Backports the following commits to 7.9:

…elastic#74342)

* [Ingest Manager] Adjust dataset aggs to use datastream fields instead

Elastic Agent and Elasticsearch are switching over from using dataset.* to datastream.*. This adjust the aggregation on the dataset page to get the datastreams.

For this to work properly, the most recent version of Elasticsearch 7.9 must be used and is pending updates on all the packages to ship also the datastream fields, see elastic/integrations#213

* Update datastream to data_stream

* Update data stream name generation

* Fix typo

* Temporarily use datastream instead of data_stream

* updating to use `data_stream` instead of `datastream`

Co-authored-by: ruflin <spam@ruflin.com>
Co-authored-by: Jen Huang <its.jenetic@gmail.com>
@skh skh added the backport This PR is a backport of another PR label Aug 5, 2020
Copy link
Copy Markdown
Contributor

@ruflin ruflin left a comment

Choose a reason for hiding this comment

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

I took the freedom to test this locally against the most recent ES 7.9 source build and Agent. Works so far as expected.

@skh
Copy link
Copy Markdown
Contributor Author

skh commented Aug 5, 2020

@elasticmachine merge upstream

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Build metrics

✅ unchanged

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@ruflin ruflin merged commit c724824 into elastic:7.9 Aug 5, 2020
@ruflin ruflin deleted the backport/7.9/pr-74342 branch August 5, 2020 14:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants