Skip to content

Commit

Permalink
[docs] Add breaking changes for 7.7 (#17739) (#17850)
Browse files Browse the repository at this point in the history
* [docs] Add breaking changes for 7.7

* Clarify env var usage

* Fix repetition
  • Loading branch information
dedemorton authored Apr 20, 2020
1 parent 02b8550 commit f1f4c9a
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions libbeat/docs/release-notes/breaking/breaking-7.7.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,26 @@

//tag::notable-breaking-changes[]

//[float]
//==== Breaking change
[float]
==== Environment variables can no longer reference other environment variables

//Description
Environment variables are still supported in the {beats} configuration.
However, starting in Version 7.7.0, an environment variable cannot reference
another environment variable or event in the configuration.

For example, if you have `export VAR1=${VAR2}` and use `var: ${VAR1}` in
the configuration, this results in `var: "${VAR2}"`, where
`${VAR2}` is not expanded.

[float]
==== Docker and kubernetes processors no longer allowed in script processor

Prior to this release, it was possible to use the `add_docker_metadata` and
`add_kubernetes_metadata` processors in the `script` processor. This was not a
good practice because it sometimes resulted in memory and file descriptor leaks.

Starting in version 7.7.0, scripts that use these processors will fail. To
resolve this problem, define the processors in your configuration instead of the
script.

// end::notable-breaking-changes[]

0 comments on commit f1f4c9a

Please sign in to comment.