Delete 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.

Removes a Behavioral Analytics Collection and its associated data stream.

Request

edit

DELETE _application/analytics/<name>

Prerequisites

edit

Requires the manage_behavioral_analytics cluster privilege.

Path parameters

edit
<name>
(Required, string)

Response codes

edit
400
The name was not provided.
404 (Missing resources)
No Analytics Collection matching name could be found.

Examples

edit

The following example deletes the Analytics Collection named my_analytics_collection:

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