{"action":"created","issue":{"url":"https://api.github.com/repos/coolacid/logstash-filter-virustotal/issues/2","labels_url":"https://api.github.com/repos/coolacid/logstash-filter-virustotal/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/coolacid/logstash-filter-virustotal/issues/2/comments","events_url":"https://api.github.com/repos/coolacid/logstash-filter-virustotal/issues/2/events","html_url":"https://github.com/coolacid/logstash-filter-virustotal/issues/2","id":117313897,"number":2,"title":"Logstash-filter-virustotal freezes with Logstash2.0","user":{"login":"Vitolog","id":15886528,"avatar_url":"https://avatars.githubusercontent.com/u/15886528?v=3","gravatar_id":"","url":"https://api.github.com/users/Vitolog","html_url":"https://github.com/Vitolog","followers_url":"https://api.github.com/users/Vitolog/followers","following_url":"https://api.github.com/users/Vitolog/following{/other_user}","gists_url":"https://api.github.com/users/Vitolog/gists{/gist_id}","starred_url":"https://api.github.com/users/Vitolog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vitolog/subscriptions","organizations_url":"https://api.github.com/users/Vitolog/orgs","repos_url":"https://api.github.com/users/Vitolog/repos","events_url":"https://api.github.com/users/Vitolog/events{/privacy}","received_events_url":"https://api.github.com/users/Vitolog/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-17T09:19:07Z","updated_at":"2015-12-10T10:07:46Z","closed_at":null,"body":"I'm trying to use the plugin with Logstash2.0 without any results.\r\nI've configured my conf file using the snippet code below\r\n\r\n    virustotal {\r\n            apikey => \"myapikey\"\r\n            field => [src_ip]\r\n            lookup_type => \"url\"\r\n            target => \"virustotal\"\r\n    } \r\n\r\nIf Logstash is started in debug mode, i obtain this output\r\n\r\n    Exception in filterworker, the pipeline stopped processing new events, please check your filter configuration and restart Logstash. {\"exception\"=>#<JSON::ParserError: A JSON text must at least contain two octets!>\r\n\r\n    JSON::ParserError: A JSON text must at least contain two octets!\r\n     initialize at json/ext/Parser.java:175\r\n            new at json/ext/Parser.java:151\r\n          parse at /opt/logstash/vendor/bundle/jruby/1.9/gems/json-1.8.3-java/lib/json/common.rb:155\r\n         filter at /opt/logstash/vendor/local_gems/0f94f654/logstash-filter-virustotal-0.1.1/lib/logstash/filters/virustotal.rb:53\r\n    multi_filter at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/filters/base.rb:152\r\n           each at org/jruby/RubyArray.java:1613\r\n    multi_filter at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/filters/base.rb:149\r\n    filter_func at (eval):1467\r\n    filterworker at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/pipeline.rb:219\r\n    start_filters at /opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-2.0.0-java/lib/logstash/pipeline.rb:154\r\n\r\nHow can i avoid this issue?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/coolacid/logstash-filter-virustotal/issues/comments/163563361","html_url":"https://github.com/coolacid/logstash-filter-virustotal/issues/2#issuecomment-163563361","issue_url":"https://api.github.com/repos/coolacid/logstash-filter-virustotal/issues/2","id":163563361,"user":{"login":"Vitolog","id":15886528,"avatar_url":"https://avatars.githubusercontent.com/u/15886528?v=3","gravatar_id":"","url":"https://api.github.com/users/Vitolog","html_url":"https://github.com/Vitolog","followers_url":"https://api.github.com/users/Vitolog/followers","following_url":"https://api.github.com/users/Vitolog/following{/other_user}","gists_url":"https://api.github.com/users/Vitolog/gists{/gist_id}","starred_url":"https://api.github.com/users/Vitolog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vitolog/subscriptions","organizations_url":"https://api.github.com/users/Vitolog/orgs","repos_url":"https://api.github.com/users/Vitolog/repos","events_url":"https://api.github.com/users/Vitolog/events{/privacy}","received_events_url":"https://api.github.com/users/Vitolog/received_events","type":"User","site_admin":false},"created_at":"2015-12-10T10:07:46Z","updated_at":"2015-12-10T10:07:46Z","body":"Right away"}}