Spec-Zone.ru › Elasticsearch 8
›Elasticsearch Guide [8.17] ›REST APIs ›Behavioral Analytics APIs

Put Analytics Collection

This functionality is in beta and is subject to change. The design and code is less mature than official GA features and is being provided as-is with no warranties. Beta features are not subject to the support SLA of official GA features.

New API reference

For the most up-to-date API details, refer to Behavioral analytics APIs.

Creates a Behavioral Analytics Collection.

Request

PUT _application/analytics/<name>

Path parameters

<name>
(Required, string)

Prerequisites

Requires the manage_behavioral_analytics cluster privilege.

Response codes

400
Analytics Collection <name> exists.

Examples

The following example creates a new Analytics Collection called my_analytics_collection:

resp = client.search_application.put_behavioral_analytics(
    name="my_analytics_collection",
)
print(resp)
const response = await client.searchApplication.putBehavioralAnalytics({
  name: "my_analytics_collection",
});
console.log(response);
PUT _application/analytics/my_analytics_collection

© 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/8.17/put-analytics-collection.html

Spec-Zone.ru

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