Hi I am trying to connect the S3 bucket to my logstash, since i have stored log files on S3. Would you pls suggest what i am missing?
Below is my input filter:
input {
s3 {
bucket => "purchaselogs"
access_key_id => "@.com"
secret_access_key => "******"
interval => 300
region => "cn-north-1"
use_ssl => true
}
}
AND below is the error:
A plugin had an unrecoverable error. Will restart this plugin.
Plugin: <LogStash::Inputs::S3 bucket=>"purchaselogs", access_key_id=>"****@.com", secret_access_key=>"", interval=>300, region=>"cn-north-1", use_ssl=>true, codec=><LogStash::Codecs::Plain charset=>"UTF-8">, delete=>false, temporary_directory=>"/var/folders/l7/dyln_9550l5drgt9cxtgq3200000gn/T/logstash">
Error: initialize: name or service not known {:level=>:error}