diff --git a/libbeat/scripts/generate_fields_docs.py b/libbeat/scripts/generate_fields_docs.py index dc6f0b37284..70791400cba 100644 --- a/libbeat/scripts/generate_fields_docs.py +++ b/libbeat/scripts/generate_fields_docs.py @@ -6,7 +6,7 @@ def document_fields(output, section, sections, path): - if "nofields" in section: + if "skipdocs" in section: return if "anchor" in section: output.write("[[exported-fields-{}]]\n".format(section["anchor"])) @@ -138,7 +138,7 @@ def fields_to_asciidoc(input, output, beat): if "anchor" not in section: section["anchor"] = section["key"] - if "nofields" not in section: + if "skipdocs" not in section: output.write("* <>\n".format(section["anchor"])) output.write("\n--\n") diff --git a/x-pack/filebeat/module/netflow/_meta/fields.yml b/x-pack/filebeat/module/netflow/_meta/fields.yml index e017328bfd6..951323eb99c 100644 --- a/x-pack/filebeat/module/netflow/_meta/fields.yml +++ b/x-pack/filebeat/module/netflow/_meta/fields.yml @@ -3,4 +3,4 @@ description: > Module for receiving NetFlow and IPFIX flow records over UDP. The module does not add fields beyond what the netflow input provides. - nofields: + skipdocs: diff --git a/x-pack/filebeat/module/netflow/fields.go b/x-pack/filebeat/module/netflow/fields.go index 693031a6b1f..93522209da6 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 "eJw8jjFOw0AQRfs9xbtAcgAXVChSClAKkGhNZoxHLDPW7sRWbo8CSvr3/n87vvU64JpTjW33E3KpWiAtqw68ah5qbAVE+7nZkhY+8FQAXv5gpmg0Paut5l93g9GF4+lw/OA2fAOiSSdWbbw/n/a8zcrjDiS045GMIkymVTqfeg0XtnlMctZ7JebLJVlarCba9wU8/pWh/AYAAP//0XBG/g==" + return "eJw8zj1Ow0AQhuF+T/FeIDmACyoUKQUoBUi0xjPGoyw7q92JrdweBcnpn+/nwFXvA0Vjzr4dfl1uWROERdaBd41T9i2BaJ+a1TAvAy8J4O0fM3uj6aS2WvnZE4xFOF9O5y8exQ/gTTq+auPz9XLkY1GecyCuneLBKMJsmqXzrXcvwraMQSy6v8RKvQW1+Wqi/ZigX62KT31IfwEAAP//0cxHCg==" }