Skip to content

Commit 1f2c3ca

Browse files
committed
Add example for get behavioral analytics collections
1 parent 5a945c3 commit 1f2c3ca

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-0
lines changed

docs/overlays/elasticsearch-shared-overlays.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1351,3 +1351,12 @@ actions:
13511351
examples:
13521352
indicesRolloverResponseExample1:
13531353
$ref: "../../specification/indices/rollover/indicesRolloverResponseExample1.yaml"
1354+
## Examples for behavioral analytics
1355+
- target: "$.components['responses']['search_application.get_behavioral_analytics#200']"
1356+
description: "Add example for get behavioral analytics collections response"
1357+
update:
1358+
content:
1359+
application/json:
1360+
examples:
1361+
searchApplicationsListResponseExample1:
1362+
$ref: "../../specification/search_application/list/SearchApplicationsListResponseExample1.yaml"
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# summary: behavioral-analytics/apis/list-analytics-collection.asciidoc:112
2+
description: A successful response from `GET _application/analytics/my*`
3+
# type: response
4+
# response_code: ''
5+
value:
6+
"{\n \"my_analytics_collection\": {\n \"event_data_stream\": {\n \
7+
\ \"name\": \"behavioral_analytics-events-my_analytics_collection\"\n \
8+
\ }\n },\n \"my_analytics_collection2\": {\n \"event_data_stream\": {\n \
9+
\ \"name\": \"behavioral_analytics-events-my_analytics_collection2\"\n \
10+
\ }\n }\n}"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
summary: autoscaling/apis/put-autoscaling-policy.asciidoc:16
2+
method_request: PUT /_autoscaling/policy/<name>
3+
description: ''
4+
type: request
5+
value: "{\n \"roles\": [],\n \"deciders\": {\n \"fixed\": {\n }\n }\n}"

0 commit comments

Comments
 (0)