This is what I got in logstash.log
{:timestamp=>"2016-04-25T17:26:13.863000+0800", :message=>"A plugin had an unrecoverable error. Will restart this plugin.\n Plugin: <LogStash::Inputs::S3 bucket=>"xxx-elb-log", access_key_id=>"xxxxxxxx", secret_access_key=>"xxxxxx", interval=>300, prefix=>"xxx/AWSLogs", region=>"cn-north-1", tags=>["xxx", "elb"], type=>"xxx", use_ssl=>true, codec=><LogStash::Codecs::Plain charset=>"UTF-8">, delete=>false, temporary_directory=>"/var/lib/logstash/logstash">\n Error: initialize: name or service not known", :level=>:error}
Here is the configuration about s3 input
input {
s3 {
bucket => "xxx-elb-log"
access_key_id => "xxxxxxx"
secret_access_key => "xxxxxx"
interval => 300
prefix => "xxx/AWSLogs"
region => "cn-north-1"
tags => ["xxx","elb"]
type => "xxx"
use_ssl => true
}
}
I installed logstash using logstash-all-plugins-2.3.1.tar.gz