# Logstash S3 input issues

**URL:** <https://discuss.elastic.co/t/logstash-s3-input-issues/175306>\
**Category:** Logstash\
**Created:** [April 4, 2019, 3:28am UTC](https://discuss.elastic.co/t/logstash-s3-input-issues/175306 "2019-04-04T03:28:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cfinnie](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@cfinnie](https://discuss.elastic.co/u/cfinnie)\
**Post date:** [April 4, 2019, 3:28am UTC](https://discuss.elastic.co/t/logstash-s3-input-issues/175306/1 "2019-04-04T03:28:20Z")

</div>

Hi there,

I am having trouble trying to get Logstash to use the S3 input plugin to load log files from an S3 bucket.

This is the error I get:

> [INFO][logstash.inputs.s3] S3 input: No files found in bucket {:prefix=\>"/test-recursion/\*"}

Logstash version: 6.7

and this is my pipeline config:

```
input {
  beats {
    id => "beats-input"
    type => "k8-logs"
    port => 5044
  }
  s3 {
    id => "s3-input"
    type => "emr-logs"
    bucket => "MYBUCKETNAME"
    prefix => "/test-recursion/*"
    interval => 30
    region => "MYAWSREGION"
  }
}

```

I have tried all manner of \* wildcards with no success of finding any files within any folder in a bucket.

HALP :0)

What am I missing?

Claire

OK so update. This plugin does seem to recursively look into buckets for logs but only if I remove the `prefix` setting.

Is that the expected behavior?

---

<div class="post-metadata">

**Author:** ![fotreyamlu](https://avatars.discourse-cdn.com/v4/letter/f/ad7895/32.png) [@fotreyamlu](https://discuss.elastic.co/u/fotreyamlu)\
**Post date:** [April 12, 2019, 2:26pm UTC](https://discuss.elastic.co/t/logstash-s3-input-issues/175306/2 "2019-04-12T14:26:45Z")

</div>

Hi friend, did you look into this thread ---\> [S3 Input not working](https://discuss.elastic.co/t/s3-input-not-working/58267), I guess this might help you out! 😀

---

<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:** [May 10, 2019, 2:26pm UTC](https://discuss.elastic.co/t/logstash-s3-input-issues/175306/3 "2019-05-10T14:26:53Z")

</div>

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