Issues with special characters in docker env

Hi, I've got an issue trying to parse special characters into CONFIG_STRING in my dockerfile.
I'm not sure here is the right place to ask, but figured someone might've come across this before.

If I try to parse

    ENV ELASTICSEARCH_HOST "https://..."

Error:
Failed to execute action {:action=>LogStash::PipelineAction::Create/pipeline_id:main, :exception=>"LogStash::ConfigurationError", :message=>"Expected one of [A-Za-z0-9_-], [ \t\r\n], "#", "{", [A-Za-z0-9_], "}" at line 1, column 71 (byte 71) after output { elasticsearch {hosts => https"

It seems to want alphanumeric characters, but I need to parse my ':' which the config file ofcourse does just take.

Any help is extremely appreciated!

Nicky

There ought to be a double quote before the https. It will be choking on the :// that follows it.

1 Like

Thanks for the swift reply @Badger.

The Environment variables ELASTICSEARCH_HOST has this. I've now also tried to trough CONFIG_STRING but exists at the same command.. :frowning: