I'm having some issues with Logstash and monitoring a single Oracle database. Logstash takes 30 seconds to
"warm up" before generating data, for a further 45 seconds before promptly imploding. Error that I've captured is:
Attempted to send a bulk request to Elasticsearch configured at '["http://localhost:9200/"]', but an error occurred and it failed! Are you sure you can reach elasticsearch from this machine using the configuration provided? {:error_message=>"Cannot serialize instance of: Sequel::SQL::Blob",
I'm wondering if there are any logstash guru's who can shine some light on this particular issue?
check the incoming data is possible there is a "break" line , I had a binary (20) in a single column . I just decided to check out the insert in other tables and everything worked
Not from my point of view. I've alpha 4 seems to last longer, but still implodes.
I believe there are 2 issues. Firstly, it's to do with my proof of concept architecture I had. Haven't had the time to revisit my updated architecture, with 1 logstash instance as a message forwarder into kafka into a second logstash instance (worker) in elastic. Hope to revisit this in the coming week or two.
Secondly, it's the sheer volume in question, which gives my first issue slightly more credit. I've been thinking about what table, with limited diagnostic information I could use then scale up from there.
Does that make sense? Or have you built it out are still having this issue?
LogStash::Json::GeneratorError: Cannot serialize instance of: Sequel::SQL::Blob
jruby_dump at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/json.rb:53
to_json at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-event-2.4.0-java/lib/logstash/event.rb:145
encode at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-codec-json_lines-2.1.3/lib/logstash/codecs/json_lines.rb:48
receive at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-stdout-2.0.6/lib/logstash/outputs/stdout.rb:55
multi_receive at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/outputs/base.rb:109
each at org/jruby/RubyArray.java:1613
multi_receive at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/outputs/base.rb:109
worker_multi_receive at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/output_delegator.rb:130
multi_receive at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/output_delegator.rb:114
output_batch at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:301
each at org/jruby/RubyHash.java:1342
output_batch at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:301
worker_loop at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:232
start_workers at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.4.0-java/lib/logstash/pipeline.rb:201
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.