{"action":"closed","issue":{"url":"https://api.github.com/repos/logstash-plugins/logstash-output-datadog/issues/2","labels_url":"https://api.github.com/repos/logstash-plugins/logstash-output-datadog/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/logstash-plugins/logstash-output-datadog/issues/2/comments","events_url":"https://api.github.com/repos/logstash-plugins/logstash-output-datadog/issues/2/events","html_url":"https://github.com/logstash-plugins/logstash-output-datadog/issues/2","id":89673916,"number":2,"title":"Logstash 1.5 complains about undefinied \"to_json\" method","user":{"login":"gruzewski","id":9534815,"avatar_url":"https://avatars.githubusercontent.com/u/9534815?v=3","gravatar_id":"","url":"https://api.github.com/users/gruzewski","html_url":"https://github.com/gruzewski","followers_url":"https://api.github.com/users/gruzewski/followers","following_url":"https://api.github.com/users/gruzewski/following{/other_user}","gists_url":"https://api.github.com/users/gruzewski/gists{/gist_id}","starred_url":"https://api.github.com/users/gruzewski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gruzewski/subscriptions","organizations_url":"https://api.github.com/users/gruzewski/orgs","repos_url":"https://api.github.com/users/gruzewski/repos","events_url":"https://api.github.com/users/gruzewski/events{/privacy}","received_events_url":"https://api.github.com/users/gruzewski/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-19T22:29:51Z","updated_at":"2015-09-09T13:27:20Z","closed_at":"2015-09-09T13:27:20Z","body":"Hi,\r\n\r\nI had an issue with undefined \"to_json\" method in datadog.rb, with the line below:\r\n```\r\nrequest.body = dd_event.to_json\r\n```\r\nI have workaround it by adding \r\n```\r\nrequire \"json\"\r\n```\r\nMy setup: Logstash 1.5, Ubuntu 14.04\r\n\r\nReally good stuff! And all my colleagues were impressed ;)"}}