Skip to content

[8.0](backport #28450) Setup data streams and send events to them#29290

Merged
kvch merged 1 commit into8.0from
mergify/bp/8.0/pr-28450
Dec 6, 2021
Merged

[8.0](backport #28450) Setup data streams and send events to them#29290
kvch merged 1 commit into8.0from
mergify/bp/8.0/pr-28450

Conversation

@mergify
Copy link
Copy Markdown
Contributor

@mergify mergify bot commented Dec 6, 2021

This is an automatic backport of pull request #28450 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.com

## What does this PR do?

  We are introducing data streams to Beats. It means that all Beats are going to send events to data streams instead of indices regardless of ES version. Do not confuse it with the data stream naming convention we use in integrations. Naming does not change in Beats, only the underlying data storage method in Elasticsearch.

  The name of the data stream is going to be `{beatname}-{version}` and the index pattern is `{beatname}-{version}`.

  With this change, the option `setup.template.type` no longer makes sense. Hence, it is removed completely from 8.x. If you are loading JSON index templates by specifying a file in `setup.template.json.path`, make sure you move from the legacy format to composable index templates.

  Beats no longer load an alias to Elasticsearch, instead all data can be reached through the data stream.

  One of the limitations is that only create operations are supported in data streams. Thus, there is no way to use e.g. "index" or "delete" operation types when sending events to ES.

  ## Why is it important?

  Simplify loading ILM, templates, and use the specialized data streams for output events.

(cherry picked from commit 405c342)
@mergify mergify bot requested review from a team as code owners December 6, 2021 12:14
@mergify mergify bot added the backport label Dec 6, 2021
@mergify mergify bot assigned kvch Dec 6, 2021
@botelastic botelastic bot added the needs_team Indicates that the issue/PR needs a Team:* label label Dec 6, 2021
@botelastic
Copy link
Copy Markdown

botelastic bot commented Dec 6, 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-12-06T12:14:40.254+0000

  • Duration: 158 min 10 sec

  • Commit: 35e6920

Test stats 🧪

Test Results
Failed 0
Passed 48262
Skipped 4278
Total 52540

💚 Flaky test report

Tests succeeded.

🤖 GitHub comments

To re-run your PR in the CI, just comment with:

  • /test : Re-trigger the build.

  • /package : Generate the packages and run the E2E tests.

  • /beats-tester : Run the installation tests with beats-tester.

  • run elasticsearch-ci/docs : Re-trigger the docs validation. (use unformatted text in the comment!)

@kvch kvch merged commit 4a80dff into 8.0 Dec 6, 2021
@mergify mergify bot deleted the mergify/bp/8.0/pr-28450 branch December 6, 2021 14:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport 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