Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in poller loop {:error=>#<TypeError: no implicit conversion of nil into String>} #80

Open
kalavathiy opened this issue Mar 23, 2023 · 2 comments

Comments

@kalavathiy
Copy link

2023-03-23T16:00:49.892-05:00

Copy
[2023-03-23T21:00:49,892][WARN ][logstash.inputs.s3snssqs ][main][810dfc198348eab77744b1c994f834422468d4e11482ba1f7bab271eefd7bda0] Error in poller loop {:error=>#<TypeError: no implicit conversion of nil into String>}

my configuration look something like this

input {
s3snssqs {
region => "us-west-2"
s3_default_options => { "endpoint_discovery" => true }
queue => "${queue}"
queue_owner_aws_account_id => "${queue_owner_aws_account_id}"
type => "sqs-logs"
tags => ["lsp"]
sqs_skip_delete => true
codec => json
s3_options_by_bucket => [
{ bucket_name => "${bucket_name}"
credentials => { role => "${role}" }

source_profile => "${source_profile}"

}]
}
}

output {
microsoft-logstash-output-azure-loganalytics {
workspace_id => "${workspace_id}"
workspace_key => "${workspace_key}"
custom_log_table_name => "logstash_test"
}
}

@kalavathiy
Copy link
Author

@cherwegplease provide your suggestion on this error

@RyanGWU82
Copy link

I ran into this same problem today and found it was because I didn't have the from_sns attribute in my s3snssqs input config. Adding from_sns => false solved the problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants