Hi,
I seted up API Gateway and enabled logging to cloud watch
Now I want to import access log to ES
In cloud-watch I get new object called API-Gateway-Execution-Logs_xv87vewh1w/stage and a lot of stream under it
I tryed this config(See bellow) but it says to put filter, But I want to import all data.
How do I put filter to parse all logs and put them to ES.
input {
cloudwatch {
namespace => "API-Gateway-Execution-Logs_xv87vewh1w/stage"
filters => { "" }
region => "us-east-1"
}
}
output {
elasticsearch {
hosts => ["127.0.0.1:9200"]
index => "api-stage"
}
}