Comments (3)
Interesting, do you know which type of data is causing this, or could provide more info?
from logstash-json.
yes,
response body was google protobuf binary message
full stacktrace was
GenEvent handler {LogstashJson.Console, :json} installed in Logger terminating
** (FunctionClauseError) no function clause matching in Poison.Encoder.BitString.chunk_size/3
(poison) lib/poison/encoder.ex:139: Poison.Encoder.BitString.chunk_size(<<171, 152, 70, 16, 37>>, nil, 0)
(poison) lib/poison/encoder.ex:134: Poison.Encoder.BitString.escape/2
(poison) lib/poison/encoder.ex:95: Poison.Encoder.BitString.escape/2
(poison) lib/poison/encoder.ex:101: Poison.Encoder.BitString.escape/2
(poison) lib/poison/encoder.ex:95: Poison.Encoder.BitString.escape/2
(poison) lib/poison/encoder.ex:88: Poison.Encoder.BitString.encode/2
(poison) lib/poison/encoder.ex:227: anonymous fn/4 in Poison.Encoder.Map.encode/3
(poison) lib/poison/encoder.ex:228: Poison.Encoder.Map."-encode/3-lists^foldl/2-0-"/3
Last message: {:info, #PID<0.383.0>, {Logger, "some-secret-string", {{2018, 6, 19}, {3, 39, 53, 873}}, [pid: #PID<0.26369.0>, application: :lab, module: Lab.Flask, function: "remote_call/3", file: "some-secret-string", line: 188, elapsed_time: 13, result: {:ok, %HTTPoison.Response{body: <<10, 6, 8, 171, 152, 70, 16, 37>>, headers: [{"server", "Cowboy"}, {"date", "Tue, 19 Jun 2018 03:39:53 GMT"}, {"content-length", "8"}, {"content-type", "application/octet-stream; charset=utf-8"}, {"cache-control", "max-age=0, private, must-revalidate"}, {"x-request-id", "some-secret-string"}], request_url: "some-secret-string", status_code: 200}}, request_url: "some-secret-string", substance_enum: :TRANSACTOR, act_enum: :GET_BALANCE, act_kind: :REACTION]}}
from logstash-json.
Fixed in #25
from logstash-json.
Related Issues (14)
- Reconnnect on connection issues HOT 2
- Need to add field dynamically HOT 2
- Under heavy logging, an application can become unresponsive HOT 2
- Remove timex dependency
- Add a formatter for TCP logging HOT 1
- Use Travis CI
- Publish new hex package HOT 1
- Unchecked dependencies for environment tes HOT 4
- Optional JSON library selection HOT 1
- Use message formatter from :console
- UDP appender HOT 1
- Add :error_log parameter
- cannot import in logstash HOT 3
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 logstash-json.