# Logstash input s3 plugin

**URL:** <https://discuss.elastic.co/t/logstash-input-s3-plugin/56667>\
**Category:** Logstash\
**Created:** [July 28, 2016, 7:49pm UTC](https://discuss.elastic.co/t/logstash-input-s3-plugin/56667 "2016-07-28T19:49:40Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![niraj\_kumar](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/niraj_kumar/32/4130_2.png) [@niraj\_kumar](https://discuss.elastic.co/u/niraj_kumar)\
**Post date:** [July 28, 2016, 7:49pm UTC](https://discuss.elastic.co/t/logstash-input-s3-plugin/56667/1 "2016-07-28T19:49:40Z")

</div>

Any idea why am i seeing the below error on using the s3 plugin.

A plugin had an unrecoverable error. Will restart this plugin.  
Plugin: "s3-access-log", bucket=\>"niraj-s3-log", prefix=\>"logs", region=\>"us-east-1", access\_key\_id=\>"xxxxxxxxxxxxxxxxxxxxxxxxx", secret\_access\_key=\>"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", debug=\>false, codec=\>"UTF-8"\>, use\_ssl=\>true, delete=\>false, interval=\>60, temporary\_directory=\>"/tmp/logstash"\>  
Error: certificate verify failed {:level=\>:error}  
A plugin had an unrecoverable error. Will restart this plugin.  
Plugin: "s3-access-log", bucket=\>"niraj-s3-log", prefix=\>"logs", region=\>"us-east-1", access\_key\_id=\>"xxxxxxxxxxxxxxxxxxxxxxxxx", secret\_access\_key=\>"xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx", debug=\>false, codec=\>"UTF-8"\>, use\_ssl=\>true, delete=\>false, interval=\>60, temporary\_directory=\>"/tmp/logstash"\>  
Error: certificate verify failed {:level=\>:error}  
^CSIGINT received. Shutting down the pipeline. {:level=\>:warn}  
Logstash shutdown completed

My Config:

`input {  
s3 {  
type =\> "s3-access-log"  
bucket =\> "niraj-s3-log"  
prefix =\> "logs"  
region =\> "us-east-1"  
access\_key\_id =\> "xxxxxxxxxxxxxxxxxxxxx"  
secret\_access\_key =\> "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"  
use\_ssl =\> false  
codec =\> "json"  
}  
}  
filter {  
if [type] == "s3-access-log" {  
grok {  
match =\> { "message" =\> "%{S3\_ACCESS\_LOG}" }  
}  
date {  
locale =\> "en"  
match =\> ["timestamp" , "dd/MMM/yyyy:HH:mm:ss Z"]  
}  
}  
}

output {  
elasticsearch {  
hosts =\> ["xxxxxxxxxxx:9200"]  
index =\> "niraj-s3-logs-new-%{+YYYY.MM.dd}"  
}  
stdout { codec =\> rubydebug }  
}  
`

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 4:46am UTC](https://discuss.elastic.co/t/logstash-input-s3-plugin/56667/2 "2017-07-06T04:46:04Z")

</div>


