mirror of
https://github.com/elastic/logstash.git
synced 2025-04-23 22:27:21 -04:00
parent
5e77562078
commit
a839b6324e
1 changed files with 1 additions and 11 deletions
12
docs/static/configuration.asciidoc
vendored
12
docs/static/configuration.asciidoc
vendored
|
@ -643,7 +643,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.
|
||||
|
@ -657,16 +657,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