From 3024b66b2e92aae62311a6227b96c8a08199fe76 Mon Sep 17 00:00:00 2001 From: Andrew Kroh Date: Fri, 1 May 2020 17:44:56 -0400 Subject: [PATCH] Fix broken x-pack/filebeat tests (#18149) The tests are failing due to the change in #16784. The `fields` key is referenced in system tests so it needs to be present. --- x-pack/filebeat/module/netflow/_meta/fields.yml | 1 + x-pack/filebeat/module/netflow/fields.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/x-pack/filebeat/module/netflow/_meta/fields.yml b/x-pack/filebeat/module/netflow/_meta/fields.yml index 951323eb99c..c9bb9852ce1 100644 --- a/x-pack/filebeat/module/netflow/_meta/fields.yml +++ b/x-pack/filebeat/module/netflow/_meta/fields.yml @@ -4,3 +4,4 @@ Module for receiving NetFlow and IPFIX flow records over UDP. The module does not add fields beyond what the netflow input provides. skipdocs: + fields: diff --git a/x-pack/filebeat/module/netflow/fields.go b/x-pack/filebeat/module/netflow/fields.go index 93522209da6..f8e6a0b3670 100644 --- a/x-pack/filebeat/module/netflow/fields.go +++ b/x-pack/filebeat/module/netflow/fields.go @@ -19,5 +19,5 @@ func init() { // AssetNetflow returns asset data. // This is the base64 encoded gzipped contents of module/netflow. func AssetNetflow() string { - return "eJw8zj1Ow0AQhuF+T/FeIDmACyoUKQUoBUi0xjPGoyw7q92JrdweBcnpn+/nwFXvA0Vjzr4dfl1uWROERdaBd41T9i2BaJ+a1TAvAy8J4O0fM3uj6aS2WvnZE4xFOF9O5y8exQ/gTTq+auPz9XLkY1GecyCuneLBKMJsmqXzrXcvwraMQSy6v8RKvQW1+Wqi/ZigX62KT31IfwEAAP//0cxHCg==" + return "eJw8jjFOw0AQRfs9xbtAcoAtqFCkFKAUINEazxiPsuxYuxNbuT0KwvTv/f8OXPWeqRpT8e3w7XIrmiAsimZeNU7FtwSifWy2hHnNPCWAl1+YyRtNR7XV6tduMFThfDmdP3gMPwBv0vFVG+/PlyNvs/J/B+LaqR4MIkymRTqfevcqbPMQxKx7JVaXW7A0X020HxP0qy3iY8+JPzmnnwAAAP//qK1KBQ==" }