Put Analytics Collection
editPut Analytics Collection
editThis 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
editPUT _application/analytics/<name>
Path parameters
edit-
<name>
- (Required, string)
Prerequisites
editRequires the manage_behavioral_analytics
cluster privilege.
Response codes
edit-
400
-
Analytics Collection
<name>
exists.
Examples
editThe 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