Cloud trail integration in Logstash 5.5.1

Hi All,

facing issues during cloud trail integration in logstash 5.5.1
could you please suggest me further.
Please find the error details below.

[2017-08-02T08:45:37,521][FATAL][logstash.runner ] The given configuration is invalid. Reason: Expected one of #, ", ', } at line 4, column 2 (byte 13) after input
{
s3
{

Logstash.conf file :

input
{
s3
{
bucket => "sademocloudtrail"
prefix => "AWSLogs/066037576108/CloudTrail/us-east-1/"
add_field => { source => gzfiles }
temporary_directory => "/tmp/temp-cloudtrail_s3_temp"
sincedb_path => "/tmp/temp-cloudtrail_s3_sincedb"
}
}
filter {}
output {
elasticsearch
{
hosts => "http://172.18.7.177:9200"
protocol => "http"
index => "aws"
}
stdout
{
codec => "rubydebug"
}
}

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