{"action":"created","issue":{"url":"https://api.github.com/repos/logstash-plugins/logstash-filter-geoip/issues/21","labels_url":"https://api.github.com/repos/logstash-plugins/logstash-filter-geoip/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/logstash-plugins/logstash-filter-geoip/issues/21/comments","events_url":"https://api.github.com/repos/logstash-plugins/logstash-filter-geoip/issues/21/events","html_url":"https://github.com/logstash-plugins/logstash-filter-geoip/issues/21","id":76155783,"number":21,"title":"Exception in filterworker / NoMethodError: undefined method `to_hash (geoip)","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/logstash-plugins/logstash-filter-geoip/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-13T23:10:13Z","updated_at":"2015-05-14T00:40:38Z","closed_at":null,"body":"(Migrated from https://github.com/elastic/logstash/issues/3235; filed by @jannae)\r\n\r\n--- \r\nI'm at a bit of a loss, so any help is appreciated. I'm getting a few errors that seem to have brought my ELK instance to it's knees. It stops dead on these, each time I attempt to restart or update the config in any way. Not sure what to make of it, as all my research has led me to previously corrected issues. \r\n\r\nIt seems related to this:\r\n \r\n<https://logstash.jira.com/browse/LOGSTASH-1394>\r\n\r\nThough this is indicated as having been corrected. :(\r\n\r\nAlso, if you need to review my configs they are here: https://github.com/jannae/logstash-configs\r\n\r\nThis may or may not be related to my recent upgrade to 1.5.0 rc4, it's tough to tell, except that this is a brand new problem for me, so, seems plausible.\r\n\r\n```\r\n{:timestamp=>\"2015-05-12T22:11:44.302000-0400\",\r\n    :message=>\"Exception in filterworker\",\r\n        \"exception\"=>#<NoMethodError: undefined method `to_hash' for \"*AS18144 Energia Communications,Inc.\":String>,\r\n        \"backtrace\"=>[\"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-geoip-0.1.9/lib/logstash/filters/geoip.rb:119:in `filter'\",\r\n        \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc4-java/lib/logstash/filters/base.rb:162:in `multi_filter'\",\r\n        \"org/jruby/RubyArray.java:1613:in `each'\",\r\n        \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc4-java/lib/logstash/filters/base.rb:159:in `multi_filter'\",\r\n        \"(eval):10100:in `cond_func_383'\",\r\n        \"org/jruby/RubyArray.java:1613:in `each'\",\r\n        \"(eval):10094:in `cond_func_383'\",\r\n        \"(eval):3085:in `filter_func'\",\r\n        \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc4-java/lib/logstash/pipeline.rb:219:in `filterworker'\",\r\n        \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc4-java/lib/logstash/pipeline.rb:156:in `start_filters'\"],\r\n    :level=>:error}\r\n{:timestamp=>\"2015-05-12T22:11:44.349000-0400\",\r\n    :message=>\"Exception in filterworker\",\r\n        \"exception\"=>#<NoMethodError: undefined method `to_hash' for \"*AS18144 Energia Communications,Inc.\":String>,\r\n        \"backtrace\"=>[\"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-geoip-0.1.9/lib/logstash/filters/geoip.rb:119:in `filter'\",\r\n        \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc4-java/lib/logstash/filters/base.rb:162:in `multi_filter'\",\r\n        \"org/jruby/RubyArray.java:1613:in `each'\",\r\n        \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc4-java/lib/logstash/filters/base.rb:159:in `multi_filter'\",\r\n        \"(eval):10100:in `cond_func_383'\",\r\n        \"org/jruby/RubyArray.java:1613:in `each'\",\r\n        \"(eval):10094:in `cond_func_383'\",\r\n        \"(eval):3085:in `filter_func'\",\r\n        \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc4-java/lib/logstash/pipeline.rb:219:in `filterworker'\",\r\n        \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc4-java/lib/logstash/pipeline.rb:156:in `start_filters'\"],\r\n    :level=>:error}\r\n{:timestamp=>\"2015-05-12T22:11:44.427000-0400\",\r\n    :message=>\"Exception in filterworker\",\r\n        \"exception\"=>#<NoMethodError: undefined method `to_hash' for \"*AS18144 Energia Communications,Inc.\":String>,\r\n        \"backtrace\"=>[\"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-filter-geoip-0.1.9/lib/logstash/filters/geoip.rb:119:in `filter'\",\r\n        \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc4-java/lib/logstash/filters/base.rb:162:in `multi_filter'\",\r\n        \"org/jruby/RubyArray.java:1613:in `each'\",\r\n        \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc4-java/lib/logstash/filters/base.rb:159:in `multi_filter'\",\r\n        \"(eval):10100:in `cond_func_383'\",\r\n        \"org/jruby/RubyArray.java:1613:in `each'\",\r\n        \"(eval):10094:in `cond_func_383'\",\r\n        \"(eval):3085:in `filter_func'\",\r\n        \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc4-java/lib/logstash/pipeline.rb:219:in `filterworker'\",\r\n        \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-core-1.5.0.rc4-java/lib/logstash/pipeline.rb:156:in `start_filters'\"],\r\n    :level=>:error}\r\n```\r\n\r\n(Migrated from https://github.com/elastic/logstash/issues/3235; filed by @jannae)"},"comment":{"url":"https://api.github.com/repos/logstash-plugins/logstash-filter-geoip/issues/comments/101865908","html_url":"https://github.com/logstash-plugins/logstash-filter-geoip/issues/21#issuecomment-101865908","issue_url":"https://api.github.com/repos/logstash-plugins/logstash-filter-geoip/issues/21","id":101865908,"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":"2015-05-14T00:40:38Z","updated_at":"2015-05-14T00:40:38Z","body":"@colinsurprenant I agree with your assessment. :)"}}