ammend usage of in docs for environment vars

Fixes #5036

Fixes #5059
This commit is contained in:
Pere Urbon-Bayes 2016-04-06 18:31:48 +02:00 committed by DeDe Morton
parent db6d9534f2
commit 93296da33c

View file

@ -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]
----