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


(Alice) #1

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?


(Mark Walkom) #2

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


(Alice) #3

the content of hello.conf like this:

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

output {
stdout {
codec => rubydebug
}

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


(Mark Walkom) #4

You have a space in the hosts value.


(Alice) #5

Yeah, succesfull, thank you!


(system) #6

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