[Ingest Manager] Adjust dataset aggs to use datastream fields instead#74226
[Ingest Manager] Adjust dataset aggs to use datastream fields instead#74226ruflin wants to merge 6 commits intoelastic:7.9from ruflin:datastream-adjustments
Conversation
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
|
@elastic/ingest-management Can you think of any other places where we query / agg data based on the dataset.* fields? |
|
A note on testing these changes as it requires building ES from source:
The package registry should already contain the most recent packages with the changed format (releasing now). |
|
I've created #74257 to discuss what needs to be done for this change to work. |
|
@jen-huang @skh I updated this PR with the most recent We will also need to forward port this change. |
Is there a reason not to use the normal merging strategy (master first, backport to 7.x and 7.9 as needed)? |
|
@skh Main reason is that on 7.9 we are bit under time pressure and I would like to have this change in very soon so we can start testing. I suggest after we get this into 7.9, we open master and then backport to 7.x |
The difference between the normal workflow and merging to 7.9 first is once CI run / about 2 hours. If we can't afford these two hours, are we positively sure we should be making these changes at all? |
|
Yes, changes are already in Elasticsearch: elastic/elasticsearch#60715 @skh As an alternative, could you help me open a PR against master directly with the backports before it is merged? |
💚 Build SucceededBuild metrics
History
To update your PR or re-run it, just comment with: |
|
Closing in favor of #74342 (already merged and backported). |



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