cherweg / logstash-input-s3-sns-sqs

logstash input downloading files from s3 Bucket by OjectKey from SNS/SQS
Other
29 stars 35 forks source link

error on do_stop #26

Closed thomasklinger1234 closed 5 years ago

thomasklinger1234 commented 5 years ago

Here is the relevant message:

{
    "level": "ERROR",
    "loggerName": "logstash.agent",
    "timeMillis": 1566816384423,
    "thread": "Converge PipelineAction::Reload<monitoring>",
    "logEvent": {
        "message": "Failed to execute action",
        "action": {
            "metaClass": {
                "metaClass": {
                    "metaClass": {
                        "action": "PipelineAction::Reload<monitoring>",
                        "exception": "NoMethodError",
                        "message": "undefined method `each' for nil:NilClass",
                        "backtrace": [
                            "/usr/share/logstash/vendor/bundle/jruby/2.5.0/gems/logstash-input-s3-sns-sqs-2.0.3/lib/logstash/inputs/s3snssqs.rb:283:in `stop'",
                            "/usr/share/logstash/logstash-core/lib/logstash/inputs/base.rb:87:in `do_stop'",
                            "org/jruby/RubyArray.java:1792:in `each'",
                            "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:352:in `stop_inputs'",
                            "/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:335:in `shutdown'",
                            "/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/reload.rb:53:in `block in execute'",
                            "/usr/share/logstash/logstash-core/lib/logstash/pipelines_registry.rb:103:in `block in reload_pipeline'",
                            "/usr/share/logstash/logstash-core/lib/logstash/pipelines_registry.rb:96:in `reload_pipeline'",
                            "/usr/share/logstash/logstash-core/lib/logstash/pipeline_action/reload.rb:48:in `execute'",
                            "/usr/share/logstash/logstash-core/lib/logstash/agent.rb:325:in `block in converge_state'"
                        ]
                    }
                }
            }
        }
    }
}