From c17586aae24233e480512e5ad2493b59ed5a6696 Mon Sep 17 00:00:00 2001 From: DeDe Morton Date: Wed, 8 May 2019 16:35:45 -0700 Subject: [PATCH] Make breaking changes separate files (#12002) --- libbeat/docs/breaking-7.0.asciidoc | 66 ++++++++++++++++++++++++++++ libbeat/docs/breaking.asciidoc | 69 +----------------------------- 2 files changed, 67 insertions(+), 68 deletions(-) create mode 100644 libbeat/docs/breaking-7.0.asciidoc diff --git a/libbeat/docs/breaking-7.0.asciidoc b/libbeat/docs/breaking-7.0.asciidoc new file mode 100644 index 00000000000..24422eb2ff2 --- /dev/null +++ b/libbeat/docs/breaking-7.0.asciidoc @@ -0,0 +1,66 @@ +[[breaking-changes-7.0]] + +=== Breaking changes in 7.0 + +This section discusses the main changes that you should be aware of if you +upgrade the Beats to version 7.0. {see-relnotes} + +[float] +==== HTML escaping is disabled by default + +Starting with verion 7.0, embedded HTML or special symbols like `<` and `>` are +no longer escaped by default when publishing events. +To configure the old behavior of escaping HTML, set `escape_html: +true` in the output configuration. + +//tag::notable-breaking-changes[] +[float] +==== Filebeat registry + +Starting with version 7.0, Filebeat stores the registry in a sub-directory. +The directory is configured using the `filebeat.registry.path` setting. +If Filebeat finds an old registry file at the configured location, it will +automatically migrate the registry file to the new format. + +The settings `filebeat.registry_flush` and `filebeat.registry_file_permission` +have been renamed to `filebeat.registry.flush` and +`filebeat.registry.file_permission`. + +//end::notable-breaking-changes[] + +[float] +==== ILM support + +Support for Index Lifecycle Management is GA with Beats version 7.0. This +release moved most ILM settings from the `output.elasticsearch.ilm` namespace to +the `setup.ilm` namespace. + +//tag::notable-breaking-changes[] + +[float] +==== Filebeat apache2 module renamed + +The Filebeat `apache2` module is renamed to `apache` in 7.0. + +[float] +==== Field name changes + +include::./field-name-changes.asciidoc[] + +//end::notable-breaking-changes[] + +[float] +==== Auditbeat type changes + +The Auditbeat JSON data types produced by the output have been changed to align +with the data types used in the Elasticsearch index template. + +.Auditbeat Type Changes in 7.0 +[frame="topbot",options="header"] +|====================== +|Field|Old Type|New Type +|`file.gid` |number |string +|`file.uid` |number |string +|`process.pid` |string |number +|`process.ppid` |string |number +|====================== diff --git a/libbeat/docs/breaking.asciidoc b/libbeat/docs/breaking.asciidoc index 4ae93381922..fb0f4f5469d 100644 --- a/libbeat/docs/breaking.asciidoc +++ b/libbeat/docs/breaking.asciidoc @@ -13,71 +13,4 @@ See the following topics for a description of breaking changes: * <> -[[breaking-changes-7.0]] - -=== Breaking changes in 7.0 - -This section discusses the main changes that you should be aware of if you -upgrade the Beats to version 7.0. {see-relnotes} - -[float] -==== HTML escaping is disabled by default - -Starting with verion 7.0, embedded HTML or special symbols like `<` and `>` are -no longer escaped by default when publishing events. -To configure the old behavior of escaping HTML, set `escape_html: -true` in the output configuration. - -//tag::notable-breaking-changes[] -[float] -==== Filebeat registry - -Starting with version 7.0, Filebeat stores the registry in a sub-directory. -The directory is configured using the `filebeat.registry.path` setting. -If Filebeat finds an old registry file at the configured location, it will -automatically migrate the registry file to the new format. - -The settings `filebeat.registry_flush` and `filebeat.registry_file_permission` -have been renamed to `filebeat.registry.flush` and -`filebeat.registry.file_permission`. - -//end::notable-breaking-changes[] - -[float] -==== ILM support - -Support for Index Lifecycle Management is GA with Beats version 7.0. This -release moved most ILM settings from the `output.elasticsearch.ilm` namespace to -the `setup.ilm` namespace. - -//tag::notable-breaking-changes[] - -[float] -==== Filebeat apache2 module renamed - -The Filebeat `apache2` module is renamed to `apache` in 7.0. - -[float] -==== Field name changes - -include::./field-name-changes.asciidoc[] - -//end::notable-breaking-changes[] - -[float] -==== Auditbeat type changes - -The Auditbeat JSON data types produced by the output have been changed to align -with the data types used in the Elasticsearch index template. - -.Auditbeat Type Changes in 7.0 -[frame="topbot",options="header"] -|====================== -|Field|Old Type|New Type -|`file.gid` |number |string -|`file.uid` |number |string -|`process.pid` |string |number -|`process.ppid` |string |number -|====================== - - +include::breaking-7.0.asciidoc[]