You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: x-pack/plugin/logsdb/src/yamlRestTest/resources/rest-api-spec/test/30_logsdb_default_mapping.yml
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -291,7 +291,7 @@ create logsdb data stream with custom sorting without host.name:
291
291
292
292
- do:
293
293
allowed_warnings:
294
-
- "index template [logs-template] has index patterns [logs-*-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
294
+
- "index template [logs-template] has index patterns [logs-http-prod] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
295
295
indices.put_index_template:
296
296
name: logs-template
297
297
body:
@@ -341,7 +341,7 @@ create logsdb data stream with custom sorting and host object:
341
341
342
342
- do:
343
343
allowed_warnings:
344
-
- "index template [logs-template] has index patterns [logs-*-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
344
+
- "index template [logs-template] has index patterns [logs-nginx-prod] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
345
345
indices.put_index_template:
346
346
name: logs-template
347
347
body:
@@ -400,7 +400,7 @@ create logsdb data stream with custom sorting and dynamically mapped host.name:
400
400
401
401
- do:
402
402
allowed_warnings:
403
-
- "index template [logs-template] has index patterns [logs-*-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
403
+
- "index template [logs-template] has index patterns [logs-kafka-qa] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
404
404
indices.put_index_template:
405
405
name: logs-template
406
406
body:
@@ -465,7 +465,7 @@ create logsdb data stream with custom sorting and host.name object:
465
465
466
466
- do:
467
467
allowed_warnings:
468
-
- "index template [logs-template] has index patterns [logs-*-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
468
+
- "index template [logs-template] has index patterns [logs-nginx-qa] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
469
469
indices.put_index_template:
470
470
name: logs-template
471
471
body:
@@ -521,7 +521,7 @@ create logsdb data stream with default sorting on malformed host.name:
521
521
522
522
- do:
523
523
allowed_warnings:
524
-
- "index template [logs-template] has index patterns [logs-*-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
524
+
- "index template [logs-template] has index patterns [logs-win-prod] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
525
525
indices.put_index_template:
526
526
name: logs-template
527
527
body:
@@ -585,7 +585,7 @@ create logsdb data stream with custom sorting and host.name date field:
585
585
586
586
- do:
587
587
allowed_warnings:
588
-
- "index template [logs-template] has index patterns [logs-*-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
588
+
- "index template [logs-template] has index patterns [logs-http-prod] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
589
589
indices.put_index_template:
590
590
name: logs-template
591
591
body:
@@ -638,7 +638,7 @@ create logsdb data stream with custom sorting and missing host.name field mappin
638
638
639
639
- do:
640
640
allowed_warnings:
641
-
- "index template [logs-template] has index patterns [logs-*-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
641
+
- "index template [logs-template] has index patterns [logs-http-qa] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
642
642
indices.put_index_template:
643
643
name: logs-template
644
644
body:
@@ -690,7 +690,7 @@ create logsdb data stream with custom sorting and host.name field without doc va
690
690
691
691
- do:
692
692
allowed_warnings:
693
-
- "index template [logs-template] has index patterns [logs-*-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
693
+
- "index template [logs-template] has index patterns [logs-http-dev] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
694
694
indices.put_index_template:
695
695
name: logs-template
696
696
body:
@@ -732,7 +732,7 @@ create logsdb data stream with incompatible ignore_above on host.name:
732
732
733
733
- do:
734
734
allowed_warnings:
735
-
- "index template [logsdb-index-template-ignore-above] has index patterns [logsdb-ignore-above] matching patterns from existing older templates [global]"
735
+
- "index template [logsdb-index-template-ignore-above] has index patterns [logsdb-ignore-above] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logsdb-index-template-ignore-above] will take precedence during new index creation"
736
736
indices.put_index_template:
737
737
name: logsdb-index-template-ignore-above
738
738
body:
@@ -780,7 +780,7 @@ create logsdb data stream with no sorting and host.name as text:
780
780
781
781
- do:
782
782
allowed_warnings:
783
-
- "index template [logsdb-index-template-non-keyword] has index patterns [logsdb-non-keyword] matching patterns from existing older templates [global]"
783
+
- "index template [logsdb-index-template-non-keyword] has index patterns [logsdb-non-keyword] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logsdb-index-template-non-keyword] will take precedence during new index creation"
784
784
indices.put_index_template:
785
785
name: logsdb-index-template-non-keyword
786
786
body:
@@ -814,7 +814,7 @@ create logsdb data stream without index sorting and ignore_above on host.name:
814
814
815
815
- do:
816
816
allowed_warnings:
817
-
- "index template [logsdb-index-template-ignore-above-override] has index patterns [logsdb-ignore-above-override] matching patterns from existing older templates [global]"
817
+
- "index template [logsdb-index-template-ignore-above-override] has index patterns [logsdb-ignore-above-override] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logsdb-index-template-ignore-above-override] will take precedence during new index creation"
818
818
indices.put_index_template:
819
819
name: logsdb-index-template-ignore-above-override
820
820
body:
@@ -860,7 +860,7 @@ create logsdb data stream with host.name as alias and sorting on it:
860
860
861
861
- do:
862
862
allowed_warnings:
863
-
- "index template [logsdb-index-template-alias] has index patterns [logsdb-alias] matching patterns from existing older templates [global]"
863
+
- "index template [logsdb-index-template-alias] has index patterns [logsdb-alias] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logsdb-index-template-alias] will take precedence during new index creation"
864
864
indices.put_index_template:
865
865
name: logsdb-index-template-alias
866
866
body:
@@ -898,7 +898,7 @@ create logsdb data stream with multi-fields on host.name:
898
898
899
899
- do:
900
900
allowed_warnings:
901
-
- "index template [logsdb-index-template-multi-fields] has index patterns [logsdb-multi-fields] matching patterns from existing older templates [global]"
901
+
- "index template [logsdb-index-template-multi-fields] has index patterns [logsdb-multi-fields] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logsdb-index-template-multi-fields] will take precedence during new index creation"
902
902
indices.put_index_template:
903
903
name: logsdb-index-template-multi-fields
904
904
body:
@@ -945,7 +945,7 @@ create logsdb data stream with multi-fields on host.name and no sorting:
945
945
946
946
- do:
947
947
allowed_warnings:
948
-
- "index template [logsdb-no-sort-multi-fields-template] has index patterns [logsdb-no-sort-multi-fields] matching patterns from existing older templates [global]"
948
+
- "index template [logsdb-no-sort-multi-fields-template] has index patterns [logsdb-no-sort-multi-fields] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logsdb-no-sort-multi-fields-template] will take precedence during new index creation"
949
949
indices.put_index_template:
950
950
name: logsdb-no-sort-multi-fields-template
951
951
body:
@@ -980,7 +980,7 @@ create logsdb data stream with custom empty sorting:
980
980
981
981
- do:
982
982
allowed_warnings:
983
-
- "index template [logs-template] has index patterns [logs-*-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
983
+
- "index template [logs-template] has index patterns [logs-http-empty] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
984
984
indices.put_index_template:
985
985
name: logs-template
986
986
body:
@@ -1027,7 +1027,7 @@ create logsdb data stream with custom sorting on timestamp:
1027
1027
1028
1028
- do:
1029
1029
allowed_warnings:
1030
-
- "index template [logs-template] has index patterns [logs-*-*] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
1030
+
- "index template [logs-template] has index patterns [logs-http-dev] matching patterns from existing older templates [global] with patterns (global => [*]); this template [logs-template] will take precedence during new index creation"
0 commit comments