# Logstash: Amazon S3 Trouble

**URL:** <https://discuss.elastic.co/t/logstash-amazon-s3-trouble/51310>\
**Category:** Logstash\
**Created:** [May 30, 2016, 11:20am UTC](https://discuss.elastic.co/t/logstash-amazon-s3-trouble/51310 "2016-05-30T11:20:33Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Piyush\_Paritosh](https://avatars.discourse-cdn.com/v4/letter/p/b5ac83/32.png) [@Piyush\_Paritosh](https://discuss.elastic.co/u/Piyush_Paritosh)\
**Post date:** [May 30, 2016, 11:20am UTC](https://discuss.elastic.co/t/logstash-amazon-s3-trouble/51310/1 "2016-05-30T11:20:33Z")

</div>

I am using Macbook and I am trying to take input from Amazon S3. I have a bucket in my S3 and it has a textfile.

I am using the following config:

input  
{

s3 {  
access\_key\_id =\> "Access\_Key"  
bucket =\> "timselktest1"  
region =\> "us-west-2"  
secret\_access\_key =\> "Secret\_Access\_Key"  
prefix =\> "/"  
type =\> "s3"  
sincedb\_path =\> "/dev/null"

```
}

```

}

filter  
{

csv  
{  
separator =\> ","

```
columns => ["ID KEY","Client ID","Account ID","Record Source","Created On Date","Modified On Date","Form Type","Tax Status", "Error Field","Error Field Value","Error Message"]
  
autogenerate_column_names => false

convert => {"ID KEY" => "integer"}

```

}

date  
{  
timezone =\> "UTC"  
match =\> ["Created On Date", "dd-MMM-YY HH.mm.ss.SSSSSS a"]

}

date  
{  
timezone =\> "UTC"  
match =\> ["Created On Date", "dd-MMM-YY HH.mm.ss.SSSSSS a"]  
target =\> "Created On Date"

}

date  
{  
timezone =\> "UTC"  
match =\> ["Modified On Date", "dd-MMM-YY HH.mm.ss.SSSSSS a"]  
target =\> "Modified On Date"  
}

}

output  
{

elasticsearch  
{  
action =\> "index"  
hosts =\> "localhost"  
index =\> "w8ss3"  
workers =\> 1  
}

stdout  
{  
codec =\> rubydebug  
}

}

when i run logstash, i get the following:

Pipeline main has started:

after that, nothing gets printed out on the screen. If I check in elastic search also, no index is made.

Kindly help me.

---

<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:55am UTC](https://discuss.elastic.co/t/logstash-amazon-s3-trouble/51310/2 "2017-07-06T04:55:31Z")

</div>


