Logstash pipe line block utf8 ascii-8bit


(Sadegh Solati) #1

Hi
It's several days I'm trying to figure out what is causing my elk setup crashing.
I found the log which causes this issue.

Jul 2 05:45:58 web1gr nginx: 2016/07/02 05:45:58 [error] 63#63: *14012402 FastCGI sent in stderr: "PHP message: PHP Notice: Access to undefined property XXXXXXXXX in /vagrant XXXXX/BaseModel.php on line 169#012PHP message: PHP Notice: Access to undefined property XXXXXXXXX\Add::categories in XXXXXXXXXX.php on line 169#012PHP message: PHP Notice: Access to undefined property XXXXXXXX::categories in XXXXXXXXXX/BaseModel.php on line 169" while reading response header from upstream, client: 10.0.0.1, server: _, request: "GET /%D8%A7%D9%86%D9%88%D8%A7%D8%B9-%D8%B4%D8%A7%D9%85%D9%BE%D9%88-%DA%AF%D9%84%D8%A7%D9%86-5629754.html HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "www.sheypoor.com", referrer: "http://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&uact=8&ved=0ahUKEwiP293BzdPNAhXErRoKHREuC58QFggcMAA&url=http%3A%2F%2Fwww.sheypoor.com%2F%D8%A7%D9%86%D9%88%D8%A7%D8%B9-%D8%B4%D8%A7%D9%85%D9%BE%D9%88-%DA%AF%D9%84%D8%A7%D9%86-5629754.html&usg=AFQjCNGxGpoek54ucV1J-DMS3KHthWC3_Q&bvm=bv.126130881,d.bGg"

Encoding::CompatibilityError: incompatible encodings: UTF-8 and ASCII-8BIT
gsub at org/jruby/RubyString.java:3064
unescape at /opt/logstash/vendor/jruby/lib/ruby/1.9/uri/common.rb:331
unescape at /opt/logstash/vendor/jruby/lib/ruby/1.9/uri/common.rb:649
urldecode at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-urldecode-2.0.4/lib/logstash/filters/urldecode.rb:50
filter at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-urldecode-2.0.4/lib/logstash/filters/urldecode.rb:39
multi_filter at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/filters/base.rb:151
each at org/jruby/RubyArray.java:1613
multi_filter at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/filters/base.rb:148
filter_func at (eval):434
filter_batch at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:267
each at org/jruby/RubyArray.java:1613
inject at org/jruby/RubyEnumerable.java:852
filter_batch at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:265
worker_loop at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:223
start_workers at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.3.4-java/lib/logstash/pipeline.rb:201

Any help to solve this problem is appreciated.


#2

hi , I have the same problem now, it makes me so headache, do you salve the problem ?
Any reply to my question is appreciated.


(system) #3