mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 09:28:55 -04:00
* (Doc+) Link API to parent Doc part1 --------- Co-authored-by: shainaraskas <shaina.raskas@elastic.co> Co-authored-by: shainaraskas <58563081+shainaraskas@users.noreply.github.com>
51 lines
1,013 B
Text
51 lines
1,013 B
Text
[role="xpack"]
|
|
[[put-analytics-collection]]
|
|
=== Put Analytics Collection
|
|
|
|
beta::[]
|
|
|
|
++++
|
|
<titleabbrev>Put Analytics Collection</titleabbrev>
|
|
++++
|
|
|
|
////
|
|
[source,console]
|
|
----
|
|
DELETE _application/analytics/my_analytics_collection
|
|
----
|
|
// TEARDOWN
|
|
////
|
|
|
|
Creates a <<behavioral-analytics-overview,Behavioral Analytics>> Collection.
|
|
|
|
[[put-analytics-collection-request]]
|
|
==== {api-request-title}
|
|
|
|
`PUT _application/analytics/<name>`
|
|
|
|
[[put-analytics-collection-path-params]]
|
|
==== {api-path-parms-title}
|
|
|
|
`<name>`::
|
|
(Required, string)
|
|
|
|
[[put-analytics-collection-prereqs]]
|
|
==== {api-prereq-title}
|
|
|
|
Requires the `manage_behavioral_analytics` cluster privilege.
|
|
|
|
[[put-analytics-collection-response-codes]]
|
|
==== {api-response-codes-title}
|
|
|
|
`400`::
|
|
Analytics Collection `<name>` exists.
|
|
|
|
[[put-analytics-collection-example]]
|
|
==== {api-examples-title}
|
|
|
|
The following example creates a new Analytics Collection called `my_analytics_collection`:
|
|
|
|
[source,console]
|
|
----
|
|
PUT _application/analytics/my_analytics_collection
|
|
----
|