Skip to content

Commit

Permalink
Use event.dataset instead of index name in sample data modules
Browse files Browse the repository at this point in the history
  • Loading branch information
pheyos committed Jun 8, 2020
1 parent 00b23b5 commit ea31ecd
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"defaultIndexPattern": "kibana_sample_data_ecommerce",
"query": {
"bool": {
"filter": [{ "term": { "_index": "kibana_sample_data_ecommerce" } }]
"filter": [{ "term": { "event.dataset": "sample_ecommerce" } }]
}
},
"jobs": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"indices": ["INDEX_PATTERN_NAME"],
"query": {
"bool": {
"filter": [{ "term": { "_index": "kibana_sample_data_ecommerce" } }]
"filter": [{ "term": { "event.dataset": "sample_ecommerce" } }]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"defaultIndexPattern": "kibana_sample_data_logs",
"query": {
"bool": {
"filter": [{ "term": { "_index": "kibana_sample_data_logs" } }]
"filter": [{ "term": { "event.dataset": "sample_web_logs" } }]
}
},
"jobs": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"indices": ["INDEX_PATTERN_NAME"],
"query": {
"bool": {
"filter": [{ "term": { "_index": "kibana_sample_data_logs" } }]
"filter": [{ "term": { "event.dataset": "sample_web_logs" } }]
}
},
"aggregations": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"indices": ["INDEX_PATTERN_NAME"],
"query": {
"bool": {
"filter": [{ "term": { "_index": "kibana_sample_data_logs" } }]
"filter": [{ "term": { "event.dataset": "sample_web_logs" } }]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"indices": ["INDEX_PATTERN_NAME"],
"query": {
"bool": {
"filter": [{ "term": { "_index": "kibana_sample_data_logs" } }]
"filter": [{ "term": { "event.dataset": "sample_web_logs" } }]
}
}
}

0 comments on commit ea31ecd

Please sign in to comment.