# S3 input silently fails if no trailing slash

**URL:** <https://discuss.elastic.co/t/s3-input-silently-fails-if-no-trailing-slash/77388>\
**Category:** Logstash\
**Created:** [March 4, 2017, 2:26pm UTC](https://discuss.elastic.co/t/s3-input-silently-fails-if-no-trailing-slash/77388 "2017-03-04T14:26:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![yomateo](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/yomateo/32/16086_2.png) [@yomateo](https://discuss.elastic.co/u/yomateo)\
**Post date:** [March 4, 2017, 2:26pm UTC](https://discuss.elastic.co/t/s3-input-silently-fails-if-no-trailing-slash/77388/1 "2017-03-04T14:26:17Z")

</div>

Heads up..

If you're using the s3 input and you don't see any action in your logs it may likely be the case that the (current) version requires a trailing slash if you're wanting to parse a directory.

**Ommitting** a trailing **slash** will result in a silent **failure**.

```
s3 {

    access_key_id => ".."
    secret_access_key => ".."
    bucket => "sometimes-its-hard"
    region => "us-west-2"
    prefix => "logs/" <-----
    type => "s3"
    interval => 10
    
}

```

Can we get this documented ([https://www.elastic.co/guide/en/logstash/current/plugins-inputs-s3.html#plugins-inputs-s3-prefix](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-s3.html#plugins-inputs-s3-prefix)) or fixed?

I am a devoted es advocate but these little things cause a lot of pain downstream for those practicing discipline and maturity in the devops wheelhouse.

--

logstash 5.2.2

---

<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:** [April 1, 2017, 2:26pm UTC](https://discuss.elastic.co/t/s3-input-silently-fails-if-no-trailing-slash/77388/2 "2017-04-01T14:26:20Z")

</div>

Closed on April 1, 2017, 2:26pm UTC

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
