{"action":"created","issue":{"url":"https://api.github.com/repos/Wizcorp/node-graylog2/issues/16","repository_url":"https://api.github.com/repos/Wizcorp/node-graylog2","labels_url":"https://api.github.com/repos/Wizcorp/node-graylog2/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/Wizcorp/node-graylog2/issues/16/comments","events_url":"https://api.github.com/repos/Wizcorp/node-graylog2/issues/16/events","html_url":"https://github.com/Wizcorp/node-graylog2/issues/16","id":148301912,"number":16,"title":"my script ends and i'm missing some messages on graylog","user":{"login":"navihtot","id":2189012,"avatar_url":"https://avatars.githubusercontent.com/u/2189012?v=3","gravatar_id":"","url":"https://api.github.com/users/navihtot","html_url":"https://github.com/navihtot","followers_url":"https://api.github.com/users/navihtot/followers","following_url":"https://api.github.com/users/navihtot/following{/other_user}","gists_url":"https://api.github.com/users/navihtot/gists{/gist_id}","starred_url":"https://api.github.com/users/navihtot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navihtot/subscriptions","organizations_url":"https://api.github.com/users/navihtot/orgs","repos_url":"https://api.github.com/users/navihtot/repos","events_url":"https://api.github.com/users/navihtot/events{/privacy}","received_events_url":"https://api.github.com/users/navihtot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-14T09:24:05Z","updated_at":"2016-04-18T10:26:23Z","closed_at":null,"body":"Hi,\r\n\r\nWhen my script executes, few last messages are not pushed to graylog. i.e. last message \"All done\" is never delivered.\r\nWhat can I do to fix this?"},"comment":{"url":"https://api.github.com/repos/Wizcorp/node-graylog2/issues/comments/211316771","html_url":"https://github.com/Wizcorp/node-graylog2/issues/16#issuecomment-211316771","issue_url":"https://api.github.com/repos/Wizcorp/node-graylog2/issues/16","id":211316771,"user":{"login":"navihtot","id":2189012,"avatar_url":"https://avatars.githubusercontent.com/u/2189012?v=3","gravatar_id":"","url":"https://api.github.com/users/navihtot","html_url":"https://github.com/navihtot","followers_url":"https://api.github.com/users/navihtot/followers","following_url":"https://api.github.com/users/navihtot/following{/other_user}","gists_url":"https://api.github.com/users/navihtot/gists{/gist_id}","starred_url":"https://api.github.com/users/navihtot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/navihtot/subscriptions","organizations_url":"https://api.github.com/users/navihtot/orgs","repos_url":"https://api.github.com/users/navihtot/repos","events_url":"https://api.github.com/users/navihtot/events{/privacy}","received_events_url":"https://api.github.com/users/navihtot/received_events","type":"User","site_admin":false},"created_at":"2016-04-18T10:26:23Z","updated_at":"2016-04-18T10:26:23Z","body":"Hmm... not really sure. my code runs on AWS Lambda and I create a handler function which is then runned. Don't really now how they implemented it. If it helps function definition looks like this:\r\n```js\r\nexports.handler = function(event, context, callback)\r\n```\r\nmore docs: [http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html](http://docs.aws.amazon.com/lambda/latest/dg/nodejs-prog-model-handler.html)"}}