From edb00b0d092a4aecb613dfb4570166b356e2b64c Mon Sep 17 00:00:00 2001 From: Wylie Conlon Date: Tue, 17 Nov 2020 11:45:11 -0500 Subject: [PATCH] Fix mappings --- .../es_archives/logstash_functional/mappings.json | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/x-pack/test/functional/es_archives/logstash_functional/mappings.json b/x-pack/test/functional/es_archives/logstash_functional/mappings.json index aae492441072a..11e65aacb0118 100644 --- a/x-pack/test/functional/es_archives/logstash_functional/mappings.json +++ b/x-pack/test/functional/es_archives/logstash_functional/mappings.json @@ -348,9 +348,7 @@ "runtime_number": { "type": "long", "script": { - "script": { - "source": "emit(doc['bytes'].value)" - } + "source": "emit(doc['bytes'].value)" } } } @@ -723,9 +721,7 @@ "runtime_number": { "type": "long", "script": { - "script": { - "source": "emit(doc['bytes'].value)" - } + "source": "emit(doc['bytes'].value)" } } } @@ -1098,9 +1094,7 @@ "runtime_number": { "type": "long", "script": { - "script": { - "source": "emit(doc['bytes'].value)" - } + "source": "emit(doc['bytes'].value)" } } }