{"action":"created","issue":{"url":"https://api.github.com/repos/elastic/logstash/issues/4820","repository_url":"https://api.github.com/repos/elastic/logstash","labels_url":"https://api.github.com/repos/elastic/logstash/issues/4820/labels{/name}","comments_url":"https://api.github.com/repos/elastic/logstash/issues/4820/comments","events_url":"https://api.github.com/repos/elastic/logstash/issues/4820/events","html_url":"https://github.com/elastic/logstash/pull/4820","id":141108821,"number":4820,"title":"Allow Logstash to write its logs in JSON format","user":{"login":"jordansissel","id":131818,"avatar_url":"https://avatars.githubusercontent.com/u/131818?v=3","gravatar_id":"","url":"https://api.github.com/users/jordansissel","html_url":"https://github.com/jordansissel","followers_url":"https://api.github.com/users/jordansissel/followers","following_url":"https://api.github.com/users/jordansissel/following{/other_user}","gists_url":"https://api.github.com/users/jordansissel/gists{/gist_id}","starred_url":"https://api.github.com/users/jordansissel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordansissel/subscriptions","organizations_url":"https://api.github.com/users/jordansissel/orgs","repos_url":"https://api.github.com/users/jordansissel/repos","events_url":"https://api.github.com/users/jordansissel/events{/privacy}","received_events_url":"https://api.github.com/users/jordansissel/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/elastic/logstash/labels/Manageability","name":"Manageability","color":"c7def8"},{"url":"https://api.github.com/repos/elastic/logstash/labels/v5.0.0-alpha2","name":"v5.0.0-alpha2","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"ph","id":640,"avatar_url":"https://avatars.githubusercontent.com/u/640?v=3","gravatar_id":"","url":"https://api.github.com/users/ph","html_url":"https://github.com/ph","followers_url":"https://api.github.com/users/ph/followers","following_url":"https://api.github.com/users/ph/following{/other_user}","gists_url":"https://api.github.com/users/ph/gists{/gist_id}","starred_url":"https://api.github.com/users/ph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ph/subscriptions","organizations_url":"https://api.github.com/users/ph/orgs","repos_url":"https://api.github.com/users/ph/repos","events_url":"https://api.github.com/users/ph/events{/privacy}","received_events_url":"https://api.github.com/users/ph/received_events","type":"User","site_admin":false},"milestone":null,"comments":26,"created_at":"2016-03-15T21:48:56Z","updated_at":"2016-04-27T20:34:16Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/elastic/logstash/pulls/4820","html_url":"https://github.com/elastic/logstash/pull/4820","diff_url":"https://github.com/elastic/logstash/pull/4820.diff","patch_url":"https://github.com/elastic/logstash/pull/4820.patch"},"body":"This is made available by a `--log-in-json` flag. Default is false.\r\nWhen false, the old behavior [1] is used. \r\n\r\nWhen true, JSON logs are emitted.\r\n\r\n[1] The old behavior is realy two things. First, using Object#inspect to\r\nserialize. Second, to color the output if the IO is a tty.\r\n\r\nFor #1569"},"comment":{"url":"https://api.github.com/repos/elastic/logstash/issues/comments/215219441","html_url":"https://github.com/elastic/logstash/pull/4820#issuecomment-215219441","issue_url":"https://api.github.com/repos/elastic/logstash/issues/4820","id":215219441,"user":{"login":"jordansissel","id":131818,"avatar_url":"https://avatars.githubusercontent.com/u/131818?v=3","gravatar_id":"","url":"https://api.github.com/users/jordansissel","html_url":"https://github.com/jordansissel","followers_url":"https://api.github.com/users/jordansissel/followers","following_url":"https://api.github.com/users/jordansissel/following{/other_user}","gists_url":"https://api.github.com/users/jordansissel/gists{/gist_id}","starred_url":"https://api.github.com/users/jordansissel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jordansissel/subscriptions","organizations_url":"https://api.github.com/users/jordansissel/orgs","repos_url":"https://api.github.com/users/jordansissel/repos","events_url":"https://api.github.com/users/jordansissel/events{/privacy}","received_events_url":"https://api.github.com/users/jordansissel/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T20:34:16Z","updated_at":"2016-04-27T20:34:16Z","body":"The [jenkins failure](http://build-eu-00.elastic.co/job/Logstash_PR/2734/console) doesn't seem caused by this PR."}}