{"action":"created","issue":{"url":"https://api.github.com/repos/awslabs/logstash-output-amazon_es/issues/6","repository_url":"https://api.github.com/repos/awslabs/logstash-output-amazon_es","labels_url":"https://api.github.com/repos/awslabs/logstash-output-amazon_es/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/awslabs/logstash-output-amazon_es/issues/6/comments","events_url":"https://api.github.com/repos/awslabs/logstash-output-amazon_es/issues/6/events","html_url":"https://github.com/awslabs/logstash-output-amazon_es/issues/6","id":110783121,"number":6,"title":"Logstash randomly stops flushing outgoing logs","user":{"login":"artyom","id":68182,"avatar_url":"https://avatars.githubusercontent.com/u/68182?v=3","gravatar_id":"","url":"https://api.github.com/users/artyom","html_url":"https://github.com/artyom","followers_url":"https://api.github.com/users/artyom/followers","following_url":"https://api.github.com/users/artyom/following{/other_user}","gists_url":"https://api.github.com/users/artyom/gists{/gist_id}","starred_url":"https://api.github.com/users/artyom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/artyom/subscriptions","organizations_url":"https://api.github.com/users/artyom/orgs","repos_url":"https://api.github.com/users/artyom/repos","events_url":"https://api.github.com/users/artyom/events{/privacy}","received_events_url":"https://api.github.com/users/artyom/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/awslabs/logstash-output-amazon_es/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"malpani","id":368133,"avatar_url":"https://avatars.githubusercontent.com/u/368133?v=3","gravatar_id":"","url":"https://api.github.com/users/malpani","html_url":"https://github.com/malpani","followers_url":"https://api.github.com/users/malpani/followers","following_url":"https://api.github.com/users/malpani/following{/other_user}","gists_url":"https://api.github.com/users/malpani/gists{/gist_id}","starred_url":"https://api.github.com/users/malpani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malpani/subscriptions","organizations_url":"https://api.github.com/users/malpani/orgs","repos_url":"https://api.github.com/users/malpani/repos","events_url":"https://api.github.com/users/malpani/events{/privacy}","received_events_url":"https://api.github.com/users/malpani/received_events","type":"User","site_admin":false},"assignees":[{"login":"malpani","id":368133,"avatar_url":"https://avatars.githubusercontent.com/u/368133?v=3","gravatar_id":"","url":"https://api.github.com/users/malpani","html_url":"https://github.com/malpani","followers_url":"https://api.github.com/users/malpani/followers","following_url":"https://api.github.com/users/malpani/following{/other_user}","gists_url":"https://api.github.com/users/malpani/gists{/gist_id}","starred_url":"https://api.github.com/users/malpani/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/malpani/subscriptions","organizations_url":"https://api.github.com/users/malpani/orgs","repos_url":"https://api.github.com/users/malpani/repos","events_url":"https://api.github.com/users/malpani/events{/privacy}","received_events_url":"https://api.github.com/users/malpani/received_events","type":"User","site_admin":false}],"milestone":null,"comments":12,"created_at":"2015-10-10T09:12:13Z","updated_at":"2016-07-01T20:06:13Z","closed_at":"2015-10-15T21:47:57Z","body":"I have a latest logstash installed on Debian Jessie (64bit):\r\n\r\n```\r\nlogstash:\r\n  Installed: 1:1.5.4-1\r\n  Candidate: 1:1.5.4-1\r\n  Version table:\r\n *** 1:1.5.4-1 0\r\n        500 http://packages.elastic.co/logstash/1.5/debian/ stable/main amd64 Packages\r\n        100 /var/lib/dpkg/status\r\n```\r\n\r\nPlugin was installed by `bin/plugin install logstash-output-amazon_es` command. The configuration is following:\r\n\r\n```\r\noutput {\r\n    amazon_es {\r\n        hosts => [\"search-logs-.......us-west-1.es.amazonaws.com\"]\r\n        region => \"us-west-1\"\r\n        aws_access_key_id => 'ACCESS_KEY'\r\n        aws_secret_access_key => 'SECRET_KEY' \r\n        index => \"logstash-%{+YYYY.MM.dd}\"\r\n    }\r\n}\r\n```\r\n\r\nIt points to a newly created AWS Elasticsearch cluster of 3 m3.medium nodes with 50 Gb EBS storage space each and default settings. This configuration worked for some hours, then logstash began logging the following exception:\r\n\r\n```\r\n{:timestamp=>\"2015-10-10T09:10:14.785000+0000\", :message=>\"Failed to flush outgoing items\", :outgoing_count=>1, :exception=>\"NoMethodError\", :backtrace=>[\"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-amazon_es-0.1.0-java/lib/logstash/outputs/amazon_es.rb:324:in `submit'\", \"org/jruby/ext/thread/Mutex.java:149:in `synchronize'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-amazon_es-0.1.0-java/lib/logstash/outputs/amazon_es.rb:316:in `submit'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/logstash-output-amazon_es-0.1.0-java/lib/logstash/outputs/amazon_es.rb:349:in `flush'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.21/lib/stud/buffer.rb:219:in `buffer_flush'\", \"org/jruby/RubyHash.java:1341:in `each'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.21/lib/stud/buffer.rb:216:in `buffer_flush'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.21/lib/stud/buffer.rb:193:in `buffer_flush'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.21/lib/stud/buffer.rb:112:in `buffer_initialize'\", \"org/jruby/RubyKernel.java:1511:in `loop'\", \"/opt/logstash/vendor/bundle/jruby/1.9/gems/stud-0.0.21/lib/stud/buffer.rb:110:in `buffer_initialize'\"], :level=>:warn}\r\n```\r\n\r\nRestart of logstash has no impact on this."},"comment":{"url":"https://api.github.com/repos/awslabs/logstash-output-amazon_es/issues/comments/230036427","html_url":"https://github.com/awslabs/logstash-output-amazon_es/issues/6#issuecomment-230036427","issue_url":"https://api.github.com/repos/awslabs/logstash-output-amazon_es/issues/6","id":230036427,"user":{"login":"Lifang13","id":11745211,"avatar_url":"https://avatars.githubusercontent.com/u/11745211?v=3","gravatar_id":"","url":"https://api.github.com/users/Lifang13","html_url":"https://github.com/Lifang13","followers_url":"https://api.github.com/users/Lifang13/followers","following_url":"https://api.github.com/users/Lifang13/following{/other_user}","gists_url":"https://api.github.com/users/Lifang13/gists{/gist_id}","starred_url":"https://api.github.com/users/Lifang13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lifang13/subscriptions","organizations_url":"https://api.github.com/users/Lifang13/orgs","repos_url":"https://api.github.com/users/Lifang13/repos","events_url":"https://api.github.com/users/Lifang13/events{/privacy}","received_events_url":"https://api.github.com/users/Lifang13/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T20:06:12Z","updated_at":"2016-07-01T20:06:12Z","body":"The issue is still happening \r\nwith version 1.0"}}
{"actor":{"display_login":"Lifang13"}}