Skip to content

Commit ea31ecd

Browse files
committed
Use event.dataset instead of index name in sample data modules
1 parent 00b23b5 commit ea31ecd

6 files changed

Lines changed: 6 additions & 6 deletions

File tree

x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"defaultIndexPattern": "kibana_sample_data_ecommerce",
88
"query": {
99
"bool": {
10-
"filter": [{ "term": { "_index": "kibana_sample_data_ecommerce" } }]
10+
"filter": [{ "term": { "event.dataset": "sample_ecommerce" } }]
1111
}
1212
},
1313
"jobs": [

x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_ecommerce/ml/datafeed_high_sum_total_sales.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"indices": ["INDEX_PATTERN_NAME"],
44
"query": {
55
"bool": {
6-
"filter": [{ "term": { "_index": "kibana_sample_data_ecommerce" } }]
6+
"filter": [{ "term": { "event.dataset": "sample_ecommerce" } }]
77
}
88
}
99
}

x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"defaultIndexPattern": "kibana_sample_data_logs",
88
"query": {
99
"bool": {
10-
"filter": [{ "term": { "_index": "kibana_sample_data_logs" } }]
10+
"filter": [{ "term": { "event.dataset": "sample_web_logs" } }]
1111
}
1212
},
1313
"jobs": [

x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_low_request_rate.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"indices": ["INDEX_PATTERN_NAME"],
44
"query": {
55
"bool": {
6-
"filter": [{ "term": { "_index": "kibana_sample_data_logs" } }]
6+
"filter": [{ "term": { "event.dataset": "sample_web_logs" } }]
77
}
88
},
99
"aggregations": {

x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_response_code_rates.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"indices": ["INDEX_PATTERN_NAME"],
44
"query": {
55
"bool": {
6-
"filter": [{ "term": { "_index": "kibana_sample_data_logs" } }]
6+
"filter": [{ "term": { "event.dataset": "sample_web_logs" } }]
77
}
88
}
99
}

x-pack/plugins/ml/server/models/data_recognizer/modules/sample_data_weblogs/ml/datafeed_url_scanning.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"indices": ["INDEX_PATTERN_NAME"],
44
"query": {
55
"bool": {
6-
"filter": [{ "term": { "_index": "kibana_sample_data_logs" } }]
6+
"filter": [{ "term": { "event.dataset": "sample_web_logs" } }]
77
}
88
}
99
}

0 commit comments

Comments
 (0)