Error while reading CSV file from Amazon s3

my configuration file looks something like this :

input{
s3{
bucket => “s3://bucketaddress/tranlogfull.csv000”
access_key_id => “
secret_access_key => “

region => “us-west-2”

}

}

filter {
csv {
columns => ["ID","Date","Open","High","Low","Close","Volume (BTC)","Volume (Currency)","Weighted Price"]
separator => ","
}
}

output {
stdout { codec => rubydebug }
elasticsearch {
action => "index"
hosts => ["localhost:9200"]
index => "csv_index"
document_type => "bitcoin_info"
id => "ID"
}
}

and I am getting the following error while running the configuration :
Cannot create pipeline {:reason=>"Expected one of #, ", ', -, [, { at line 4, column 13 (byte 26) after \ninput{\n\ts3{\n\t\tbucket => "}

Any help appreciated :slight_smile:

It looks like you have a mix of different quote characters -". I'd check them.

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