From 8d8b859c72caa0605b13f139a0c27163b98d5b33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juan=20=C3=81lvarez?= Date: Wed, 19 Dec 2018 11:57:43 +0100 Subject: [PATCH] don't migrate beat.hostname --- _beats/dev-tools/ecs-migration.yml | 5 ----- script/update_beats.patch | 16 ++++++++++++++++ 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/_beats/dev-tools/ecs-migration.yml b/_beats/dev-tools/ecs-migration.yml index ea3268a00e3..3ec8dfde0a3 100644 --- a/_beats/dev-tools/ecs-migration.yml +++ b/_beats/dev-tools/ecs-migration.yml @@ -15,11 +15,6 @@ # Beat fields -- from: beat.hostname - to: host.hostname - alias6: true - alias: true - - from: beat.timezone to: event.timezone alias6: true diff --git a/script/update_beats.patch b/script/update_beats.patch index 6230c1742b4..3154a445c52 100644 --- a/script/update_beats.patch +++ b/script/update_beats.patch @@ -1,3 +1,19 @@ +diff --git dev-tools/ecs-migration.yml dev-tools/ecs-migration.yml +index ea3268a0..3ec8dfde 100644 +--- dev-tools/ecs-migration.yml ++++ dev-tools/ecs-migration.yml +@@ -15,11 +15,6 @@ + + # Beat fields + +-- from: beat.hostname +- to: host.hostname +- alias6: true +- alias: true +- + - from: beat.timezone + to: event.timezone + alias6: true diff --git libbeat/_meta/fields.common.yml libbeat/_meta/fields.common.yml index 4866b0462..d9401b8c1 100644 --- libbeat/_meta/fields.common.yml