Cannot create pipeline {:reason=>"Illegal character in scheme name at index 0: 10.62.179.32: 9200"}

Elasticsearch version: 5.5.2
Logstash version: 5.5.2
OS: Linux
When I run the command "bin/logstash -f hello.conf", I got a problem like this:
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
Sending Logstash's logs to /home/wangyufeng/logstash-5.5.2/logs which is now configured via log4j2.properties
[2017-09-06T11:22:04,366][ERROR][logstash.agent ] Cannot create pipeline {:reason=>"Illegal character in scheme name at index 0: 10.62.179.32: 9600"}

Anyone can give me some advice?

Please provide your configuration, we have no way of telling based on the above.

the content of hello.conf like this:

input{
stdin {
type => "human"
}
}

output {
stdout {
codec => rubydebug
}

elasticsearch {
hosts => ["10.62.179.32: 9600"]
}
}

You have a space in the hosts value.

1 Like

Yeah, succesfull, thank you!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.