Logstash Unable to Parse Response


(Naveen Kumar) #1

I am trying to call one of the remote endpoint which is http endpoint. Service is returning the valid JSON.
But when i integrate that in http_poller, logstash is not able to parse the response. Would really appriciate if i could get any pointer on the same.
Below is the error stack trace on the same.

          "backtrace" => [
        [0] "C:/Users/kumarn12/Desktop/Kibana/logstash-5.5.1/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/response.rb:122:in `body'",
        [1] "C:/Users/kumarn12/Desktop/Kibana/logstash-5.5.1/vendor/bundle/jruby/1.9/gems/logstash-input-http_poller-3.3.1/lib/logstash/inputs/http_poller.rb:190:in `handle_success'",
        [2] "C:/Users/kumarn12/Desktop/Kibana/logstash-5.5.1/vendor/bundle/jruby/1.9/gems/logstash-input-http_poller-3.3.1/lib/logstash/inputs/http_poller.rb:182:in `request_async'",
        [3] "org/jruby/RubyProc.java:281:in `call'",
        [4] "C:/Users/kumarn12/Desktop/Kibana/logstash-5.5.1/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/response.rb:263:in `handleResponse'",
        [5] "Manticore$$Response_462616950.gen:13:in `handleResponse'",
        [6] "C:/Users/kumarn12/Desktop/Kibana/logstash-5.5.1/vendor/bundle/jruby/1.9/gems/manticore-0.6.1-java/lib/manticore/response.rb:50:in `call'",
        [7] "Manticore$$Response_462616950.gen:13:in `call'"
    ],

(Magnus B├Ąck) #2

Please show

  • the full error message and context, and
  • the payload it's having trouble with.

(system) #5

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