From 50d6a7e24da5446d79b64f56a14856f739076833 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?No=C3=A9mi=20V=C3=A1nyi?= Date: Thu, 27 Jan 2022 12:27:56 +0100 Subject: [PATCH] fix test --- libbeat/outputs/elasticsearch/client_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libbeat/outputs/elasticsearch/client_test.go b/libbeat/outputs/elasticsearch/client_test.go index 1da33a9dd76c..6c9ef561161a 100644 --- a/libbeat/outputs/elasticsearch/client_test.go +++ b/libbeat/outputs/elasticsearch/client_test.go @@ -461,7 +461,7 @@ func TestBulkEncodeEvents(t *testing.T) { config: common.MapStr{}, ilmConfig: common.NewConfig(), events: []common.MapStr{{"message": "test"}}, - metas: []common.MapStr{common.MapStr{"index": "my-raw-index"}}, + metas: []common.MapStr{common.MapStr{"raw_index": "my-raw-index"}}, }, "latest with ILM and to alias": { version: version.GetDefaultVersion(),