diff --git a/e2e/_suites/metricbeat/metricbeat_test.go b/e2e/_suites/metricbeat/metricbeat_test.go index 39b504d118..c50809c7d8 100644 --- a/e2e/_suites/metricbeat/metricbeat_test.go +++ b/e2e/_suites/metricbeat/metricbeat_test.go @@ -444,7 +444,7 @@ func (mts *MetricbeatTestSuite) thereAreEventsInTheIndex() error { "must": []map[string]interface{}{ { "match": map[string]interface{}{ - "event.module": mts.Query.EventModule, + "event.dataset": "system.network", }, }, }, @@ -480,7 +480,7 @@ func (mts *MetricbeatTestSuite) thereAreNoErrorsInTheIndex() error { "must": []map[string]interface{}{ { "match": map[string]interface{}{ - "event.module": mts.Query.EventModule, + "event.dataset": "system.network", }, }, },