Skip to content

[Heartbeat] Fix broken data_stream assignment (backport #27535)#27592

Merged
andrewvc merged 1 commit into7.xfrom
mergify/bp/7.x/pr-27535
Aug 25, 2021
Merged

[Heartbeat] Fix broken data_stream assignment (backport #27535)#27592
andrewvc merged 1 commit into7.xfrom
mergify/bp/7.x/pr-27535

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Aug 25, 2021

This is an automatic backport of pull request #27535 done by Mergify.


Mergify commands and options

More conditions and actions can be found in the documentation.

You can also trigger Mergify actions by commenting on this pull request:

  • @Mergifyio refresh will re-evaluate the rules
  • @Mergifyio rebase will rebase this PR on its base branch
  • @Mergifyio update will merge the base branch into this PR
  • @Mergifyio backport <destination> will backport this PR on <destination> branch

Additionally, on Mergify dashboard you can:

  • look at your merge queues
  • generate the Mergify configuration with the config editor.

Finally, you can contact us on https://mergify.io/

This PR fixes the logic behind assigning the data_steam.dataset field.

Previously this was static per monitor type, only the index would change, but not the field. This makes the processor more comprehensive handling not just index naming but field generation.

This is a breaking change, setting event.dataset consistently to the monitor type rather than the old value of uptime. Since this field is unlikely to have been used by anyone the impact is low, and it will bring us inline with the ECS spec requiring this field to match event.dataset.

(cherry picked from commit 12df9f7)
@mergify mergify bot requested a review from a team as a code owner August 25, 2021 19:32
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Aug 25, 2021
@botelastic
Copy link
Copy Markdown

botelastic bot commented Aug 25, 2021

This pull request doesn't have a Team:<team> label.

@elasticmachine
Copy link
Copy Markdown
Contributor

💚 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 preview

Expand to view the summary

Build stats

  • Start Time: 2021-08-25T19:33:02.001+0000

  • Duration: 159 min 52 sec

  • Commit: fed6280

Test stats 🧪

Test Results
Failed 0
Passed 53170
Skipped 5267
Total 58437

Trends 🧪

Image of Build Times

Image of Tests

💚 Flaky test report

Tests succeeded.

Expand to view the summary

Test stats 🧪

Test Results
Failed 0
Passed 53170
Skipped 5267
Total 58437

@andrewvc andrewvc merged commit 93ecb14 into 7.x Aug 25, 2021
@andrewvc andrewvc deleted the mergify/bp/7.x/pr-27535 branch August 25, 2021 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs_team Indicates that the issue/PR needs a Team:* label

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants