Here is my logstah configuration file. can some one help on how to get the logfile name with AWS path.
input {
s3 {
access_key_id => "accesscode"
bucket => "bucket"
region => "location"
secret_access_key => "access key"
type => "location"
}
}
filter {
grok {
match => { "message" => "%{COMBINEDAPACHELOG}"}
}
geoip {
source => "clientip"
}
seq {
field => "seq"
}
uuid {
target => "@uuid"
}
}
output {
elasticsearch {
index => "awslogs"
}
stdout {}
}