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 an API for adding and removing indices from a data stream #75852

Closed
dakrone opened this issue Jul 29, 2021 · 3 comments · Fixed by #79279
Closed

Add an API for adding and removing indices from a data stream #75852

dakrone opened this issue Jul 29, 2021 · 3 comments · Fixed by #79279
Assignees
Labels
:Data Management/Data streams Data streams and their lifecycles >enhancement Team:Data Management Meta label for data/management team

Comments

@dakrone
Copy link
Member

dakrone commented Jul 29, 2021

Similar to the Aliases API, it would be useful to have an expert-level API for adding and removing indices from a data stream. So, copying from the aliases API, something similar to:

POST /_data_stream
{
  "actions": [
    {
      "add": {
        "index": "my-index",
        "data_stream": "my-data-stream"
      },
      "remove": {
        "index": "my-other-index",
        "data_stream": "my-data-stream"
      }
    }
  ]
}
@dakrone dakrone added >enhancement :Data Management/Data streams Data streams and their lifecycles labels Jul 29, 2021
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Jul 29, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@dakrone
Copy link
Member Author

dakrone commented Oct 12, 2021

@danhermann I think this can be closed since your PR was merged right?

@danhermann
Copy link
Contributor

The REST endpoint is still outstanding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/Data streams Data streams and their lifecycles >enhancement Team:Data Management Meta label for data/management team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants