Comments (6)
installed sudo gem install excon
and it works now - thanks!
from fluent-plugin-elasticsearch.
Is this still a problem? Is there a chance this sends nil to fluentd-plugin-elasticsearch?
from fluent-plugin-elasticsearch.
Oh, this is on es.ping
! The exception is thrown from patron's C code. Please update to v0.8.0 to see if this is still an issue. We switched to use excon gem.
from fluent-plugin-elasticsearch.
I am also getting this, using excon gem
2015-10-24 16:08:06 +0000 [warn]: temporarily failed to flush the buffer. next_retry=2015-10-24 16:08:07 +0000 error_class="TypeError" error="no implicit conversion of nil into String" plugin_id="output_from_docker"
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/excon-0.45.4/lib/excon/connection.rb:89:in `initialize'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/excon-0.45.4/lib/excon.rb:126:in `new'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/excon-0.45.4/lib/excon.rb:126:in `new'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/adapter/excon.rb:53:in `call'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/rack_builder.rb:139:in `build_response'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/faraday-0.9.2/lib/faraday/connection.rb:377:in `run_request'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-transport-1.0.14/lib/elasticsearch/transport/transport/http/faraday.rb:21:in `block in perform_request'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-transport-1.0.14/lib/elasticsearch/transport/transport/base.rb:191:in `call'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-transport-1.0.14/lib/elasticsearch/transport/transport/base.rb:191:in `perform_request'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-transport-1.0.14/lib/elasticsearch/transport/transport/http/faraday.rb:20:in `perform_request'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-transport-1.0.14/lib/elasticsearch/transport/client.rb:119:in `perform_request'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-api-1.0.14/lib/elasticsearch/api/actions/ping.rb:20:in `block in ping'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-api-1.0.14/lib/elasticsearch/api/utils.rb:191:in `__rescue_from_not_found'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/elasticsearch-api-1.0.14/lib/elasticsearch/api/actions/ping.rb:19:in `ping'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluent-plugin-elasticsearch-1.0.0/lib/fluent/plugin/out_elasticsearch.rb:64:in `client'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluent-plugin-elasticsearch-1.0.0/lib/fluent/plugin/out_elasticsearch.rb:171:in `rescue in send'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluent-plugin-elasticsearch-1.0.0/lib/fluent/plugin/out_elasticsearch.rb:169:in `send'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluent-plugin-elasticsearch-1.0.0/lib/fluent/plugin/out_elasticsearch.rb:163:in `write'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluentd-0.12.15/lib/fluent/buffer.rb:325:in `write_chunk'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluentd-0.12.15/lib/fluent/buffer.rb:304:in `pop'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluentd-0.12.15/lib/fluent/output.rb:321:in `try_flush'
2015-10-24 16:08:06 +0000 [warn]: /home/ubuntu/ruby/lib/ruby/gems/2.2.0/gems/fluentd-0.12.15/lib/fluent/output.rb:140:in `run'
from fluent-plugin-elasticsearch.
@gtmtech can you share your config?
from fluent-plugin-elasticsearch.
I think I understand @gtmtech 's issue.
If you don't have excon installed then you get his error.
excon_options = { client_key: @client_key, client_cert: @client_cert, client_key_pass: @client_key_pass }
from fluent-plugin-elasticsearch.
Related Issues (20)
- Fluentd stops shipping logs to elasticsearch after hitting non UTF-8 character in log HOT 2
- Unable to activate fluent-plugin-elasticsearch-5.3.0, because faraday-1.10.3 conflicts with faraday (>= 2.0.0), faraday-excon-1.1.0 conflicts with faraday-excon (>= 2.0.0) HOT 1
- Not able to send syslogs to Elasticsearch using fluent-plugin-elasticsearch HOT 1
- Could not communicate to OpenSearch, resetting connection and trying again. no address for <OpenSearch host> HOT 2
- installed un-desired version of elasticsearch client HOT 1
- Installed un-desired version of elasticsearch client HOT 3
- How to get rid of debug log "Detected ES 8.x or above: document type will not be used" HOT 5
- Problems routing to dynamically named data streams HOT 2
- uninitialized constant Elasticsearch::Transport (NameError) HOT 1
- `template_file` and `customize_template` ignored for Data Streams HOT 3
- Getting 400 status in fluentd - request body is required HOT 3
- Load Balancer behaviour clarification HOT 1
- How does load balancing work with multiple replicas
- ILM policy creation failed HOT 5
- in_elasticsearch client.clear_scroll does not work when elastic return extremely long scroll_id HOT 1
- Rejected by Elasticsearch [error type]: document_parsing_exception [reason]: '[1:660] failed to parse field [kubernetes.labels.app] of type [text] in document with id HOT 21
- failed to flush the buffer (use https, but elasticsearch received http traffic) HOT 1
- Question: id_key in @type elasticsearch_data_stream doesn't function as expected ... HOT 3
- Pipeline not executed with datastreams
- Buffer Overflow produce queue increases exponential.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fluent-plugin-elasticsearch.