From b90bdf3650cebcfe43bedad681d093e50e0920d3 Mon Sep 17 00:00:00 2001 From: beats-jenkins Date: Wed, 23 Jan 2019 13:25:32 +0100 Subject: [PATCH] [Metricbeat] Copy k8s.event.message to message field for ECS The field is not renamed as inside k8s it is used as keyword field and not as text. To keep this the field is copied over. --- metricbeat/module/kubernetes/event/_meta/fields.yml | 1 + metricbeat/module/kubernetes/fields.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/metricbeat/module/kubernetes/event/_meta/fields.yml b/metricbeat/module/kubernetes/event/_meta/fields.yml index a2854bfd8f4..214e4fb4e9d 100644 --- a/metricbeat/module/kubernetes/event/_meta/fields.yml +++ b/metricbeat/module/kubernetes/event/_meta/fields.yml @@ -24,6 +24,7 @@ type: keyword description: > Message recorded for the given event + copy_to: message - name: reason type: keyword description: > diff --git a/metricbeat/module/kubernetes/fields.go b/metricbeat/module/kubernetes/fields.go index d3452c3b9c5..c1113703a69 100644 --- a/metricbeat/module/kubernetes/fields.go +++ b/metricbeat/module/kubernetes/fields.go @@ -31,5 +31,5 @@ func init() { // Asset returns asset data func Asset() string { - return "eJzsXU9v6zgOv79PQfTUB2R6WuyhhwVmO/uwxfszRV/fzGGxKBSbSTS1JY8kp5P99AvJf2NLspMoadpap9ZOyJ8oiiJFSvkJnnBzDU/5HAVDhfIDgKIqwWu4+Fw/vPgAEKOMBM0U5ewa/vEBAKD5AKSoBI30twUmSCRew5J8AJCoFGVLeQ3/uZAyuZjBxUqp7OK/+t2KC/UYcbagy2tYkETiB4AFxSSW14bBT8BIih14uqlNpjkInmflEws83W7ZgouU6MdAWAxSEUWlopEEvoCMxxJSwsgSY5hvWnyuSgptNG1EJKMSxRpF/cYGygOsI7+f726hINgSZdW2RVq1LrQ2PIF/5ijVVZRQZGrrIxXOJ9w8cxF33nnQ6nZj6EHMKVuCWmHFSHpRCJQ8FxGGw3FfUMYYrLS7AGQ+PyYGF/kejIhn4QGAIQuXUZJLhWJmmMqMRDirpfPRi2uN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