mirror of
https://github.com/elastic/logstash.git
synced 2025-04-24 14:47:19 -04:00
parent
db6d9534f2
commit
93296da33c
1 changed files with 1 additions and 11 deletions
12
docs/static/configuration.asciidoc
vendored
12
docs/static/configuration.asciidoc
vendored
|
@ -606,7 +606,7 @@ This feature is _experimental_, to enable it you will need to run logstash with
|
|||
|
||||
==== Overview
|
||||
|
||||
* You can set environment variable references into Logstash plugins configuration using `${var}` or `$var`.
|
||||
* You can set environment variable references into Logstash plugins configuration using `${var}`.
|
||||
* Each reference will be replaced by environment variable value at Logstash startup.
|
||||
* The replacement is case-sensitive.
|
||||
* References to undefined variables raise a Logstash configuration error.
|
||||
|
@ -620,16 +620,6 @@ This feature is _experimental_, to enable it you will need to run logstash with
|
|||
|==================================
|
||||
|Logstash config source |Environment |Logstash config result
|
||||
|
||||
|
|
||||
[source,ruby]
|
||||
----
|
||||
input {
|
||||
tcp {
|
||||
port => "$TCP_PORT"
|
||||
}
|
||||
}
|
||||
----
|
||||
|
||||
|
|
||||
[source,shell]
|
||||
----
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue