Put Analytics Collection

edit

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.

Creates a Behavioral Analytics Collection.

Request

edit

PUT _application/analytics/<name>

Path parameters

edit
<name>
(Required, string)

Prerequisites

edit

Requires the manage_behavioral_analytics cluster privilege.

Response codes

edit
400
Analytics Collection <name> exists.

Examples

edit

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