-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
:
and /
not allowed in pipeline configuration through CONFIG_STRING
environment variable in 8.15.1
#16433
Labels
Comments
[Editing after figuring out.] I have reproduced the case by creating artifacts locally and ensured that #16365 introduced the regression
I have captured the debug logs:
and confirming that refined value produced by |
5 tasks
5 tasks
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Logstash information:
We are using the Docker image of Logstash on version 8.15.1.
JVM (e.g.
java -version
):The one bundled in the Docker image.
OS version (
uname -a
if on a Unix-like system):We have tested this on Docker standalone 26.1.4, standalone 27.1.2, and swarm 26.1.4. The actual machines that run the different Docker instances:
Description of the problem including expected versus actual behavior:
We use the Logstash container to ingest through Beats and output to ElasticSearch. However, when upgrading from version 8.15.0 to 8.15.1 our pipeline configuration became invalid when supplying it through the
CONFIG_STRING
environment variable in ourdocker-compose.yml
.Our configuration (works on 8.15.0):
But on 8.15.1 we get the following error:
The character at column 20 is the first
:
in ourhosts => ["https://es:9200"]
. Eliminating thehttps://
does not work, as it then fails on the:
specifying the port. Completely removing the port breaks on the first/
in thessl_certificate_authorities
.To ensure that this is not an issue with
logstash-output-elasticsearch
we also tested with the standard HTTP output plugin using the following config:We get a similar error for the
:
in theurl
:Providing either pipeline config through
logstash.conf
(or another file in/usr/share/logstash/pipeline
) does work as expected. As such, we believe there is a change in the parsing of the environment variable between 8.15.0 and 8.15.1.The text was updated successfully, but these errors were encountered: