File tree 2 files changed +43
-1
lines changed
2 files changed +43
-1
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
requires :
3
3
serverless : true
4
- stack : true
4
+ stack : false
5
5
---
6
6
setup :
7
7
- do :
Original file line number Diff line number Diff line change
1
+ ---
2
+ requires :
3
+ serverless : false
4
+ stack : true
5
+ ---
6
+ setup :
7
+ - do :
8
+ indices.put_index_template :
9
+ name : my-template
10
+ body :
11
+ index_patterns : [logs-*]
12
+ template :
13
+ mappings :
14
+ properties :
15
+ ' @timestamp ' :
16
+ type : date
17
+ data_stream : {}
18
+ ---
19
+ teardown :
20
+ - do :
21
+ indices.delete_index_template :
22
+ name : my-template
23
+ ---
24
+ ' indices.data_streams ' :
25
+ - do :
26
+ indices.create_data_stream :
27
+ name : logs-test
28
+ - is_true : acknowledged
29
+
30
+ - do :
31
+ indices.get_data_stream :
32
+ name : logs-test
33
+ - match : { data_streams.0.name: logs-test }
34
+
35
+ - do :
36
+ indices.data_streams_stats : {}
37
+ - is_true : data_streams
38
+
39
+ - do :
40
+ indices.delete_data_stream :
41
+ name : logs-test
42
+ - is_true : acknowledged
You can’t perform that action at this time.
0 commit comments