[2017-01-27T20:34:31,943][ERROR][logstash.agent ] Pipeline aborted due to error {:exception=>#<SocketError: initialize: name or service not known>, :backtrace=>["org/jruby/ext/socket/RubyTCPServer.java:115:in initialize'", "org/jruby/RubyIO.java:871:in
new'", "/usr/share/logstash-5.1.2/vendor/bundle/jruby/1.9/gems/puma-2.16.0-java/lib/puma/binder.rb:234:in add_tcp_listener'", "(eval):2:in
add_tcp_listener'", "/usr/share/logstash-5.1.2/vendor/bundle/jruby/1.9/gems/logstash-input-http-3.0.3/lib/logstash/inputs/http.rb:120:in register'", "/usr/share/logstash-5.1.2/logstash-core/lib/logstash/pipeline.rb:353:in
start_inputs'", "org/jruby/RubyArray.java:1613:in each'", "/usr/share/logstash-5.1.2/logstash-core/lib/logstash/pipeline.rb:352:in
start_inputs'", "/usr/share/logstash-5.1.2/logstash-core/lib/logstash/pipeline.rb:228:in start_workers'", "/usr/share/logstash-5.1.2/logstash-core/lib/logstash/pipeline.rb:183:in
run'", "/usr/share/logstash-5.1.2/logstash-core/lib/logstash/agent.rb:292:in `start_pipeline'"]}
my script
input {
http {
host => "http://agromet.inia.cl/api/emas/"
user => "testing"
}
}
output {
stdout {}
}
browser
http://agromet.inia.cl/api/emas/?user=absd xxxxx
Answer :
{"emas":[{"id":"136","nombre":"Santa Amada","comuna":"Linares","provincia":"Linares","region":"Maule","latitud":"-35.760761","longitud":"-71.574215","elevacion":"150"}]}
Please any help
Thanks
Luis