amazon web services - Logstash input Cloudwatch logs config -
i needing pull in logs from cloudwatch logstash application load balancers. have multiple want read in for. wondering if knew capabilities behind filters
field in config file.
basically curious if can put multiple loadbalancer
ids in filters
field or if have have seperate input
fields each one?
input { cloudwatch { namespace => "aws/applicationelb" metrics => [my_metrics] filters => {"loadbalancer" => "name1", "loadbalancer" => "name2"} region => "my_region" } }
or
input { cloudwatch { namespace => "aws/applicationelb" metrics => [my_metrics] filters => {"loadbalancer" => "name1"} region => "my_region" } } input { cloudwatch { namespace => "aws/applicationelb" metrics => [my_metrics] filters => {"loadbalancer" => "name2"} region => "my_region" } }
thanks ahead of time!
what can possibly is:
- first create log group in cloudwatch , follow link
then can add this plugin logstash , make use of log group created in cloudwatch.
hope !
Comments
Post a Comment