{"action":"opened","issue":{"url":"https://api.github.com/repos/looplab/logspout-logstash/issues/52","repository_url":"https://api.github.com/repos/looplab/logspout-logstash","labels_url":"https://api.github.com/repos/looplab/logspout-logstash/issues/52/labels{/name}","comments_url":"https://api.github.com/repos/looplab/logspout-logstash/issues/52/comments","events_url":"https://api.github.com/repos/looplab/logspout-logstash/issues/52/events","html_url":"https://github.com/looplab/logspout-logstash/issues/52","id":246057637,"number":52,"title":"Preserve JSON Number formating","user":{"login":"godric7","id":505337,"avatar_url":"https://avatars0.githubusercontent.com/u/505337?v=4","gravatar_id":"","url":"https://api.github.com/users/godric7","html_url":"https://github.com/godric7","followers_url":"https://api.github.com/users/godric7/followers","following_url":"https://api.github.com/users/godric7/following{/other_user}","gists_url":"https://api.github.com/users/godric7/gists{/gist_id}","starred_url":"https://api.github.com/users/godric7/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/godric7/subscriptions","organizations_url":"https://api.github.com/users/godric7/orgs","repos_url":"https://api.github.com/users/godric7/repos","events_url":"https://api.github.com/users/godric7/events{/privacy}","received_events_url":"https://api.github.com/users/godric7/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-07-27T14:25:43Z","updated_at":"2017-07-27T14:25:43Z","closed_at":null,"body":"When logging JSON numbers from docker, ex:`{\"value\":1000000}` the value is converted to scientific notation once it's gone through the Marshall/Unmarshalling: `{\"value\":1e+06}`\r\n\r\nWhile this is not technically incorrect, it prevents us from looking for specific values in the logs (ids) without manually converting them to scientific notation.\r\n\r\nI tried to come up with a fix myself (https://stackoverflow.com/a/22346593/8125689 looks promising), but while the issue definitely happens with the `Bekt/logspout-logstash` image, I wasn't able to reproduce it in a test case 😕 \r\n\r\nPS: Big thanks for this project, we've been using it on production server without problems for a while, and it's a key component of our monitoring system 👍 "}}
{"actor":{"display_login":"godric7"}}