Spec-Zone.ru › Elasticsearch 7
›Elasticsearch Guide [7.17] ›REST APIs ›Machine learning anomaly detection APIs

Delete datafeeds API

Deletes an existing datafeed.

Request

DELETE _ml/datafeeds/<feed_id>

Prerequisites

  • Requires the manage_ml cluster privilege. This privilege is included in the machine_learning_admin built-in role.
  • Unless you use the force parameter, you must stop the datafeed before you can delete it.

Path parameters

<feed_id>
(Required, string) A numerical character string that uniquely identifies the datafeed. This identifier can contain lowercase alphanumeric characters (a-z and 0-9), hyphens, and underscores. It must start and end with alphanumeric characters.

Query parameters

force
(Optional, Boolean) Use to forcefully delete a started datafeed; this method is quicker than stopping and deleting the datafeed.

Examples

DELETE _ml/datafeeds/datafeed-total-requests

When the datafeed is deleted, you receive the following results:

{
  "acknowledged": true
}

© 2023-2025 Elasticsearch
As of September 2024, Elasticsearch is available under a choice of three licenses: the Server Side Public License (SSPL), the Elastic License, or the AGPLv3 (OSI approved).
Elasticsearch and the Elasticsearch logo are trademarks of Elasticsearch B.V., registered in the U.S. and in other countries.
https://www.elastic.co/guide/en/elasticsearch/reference/7.17/ml-delete-datafeed.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API