How to download aws cloudwatch log data?

Please tell me about
How to download aws cloudwatch log data?

Probably with

If that's not what you want then providing more detail would be helpful.

I looked into it but it was not helping it returns with an error always as it can not find metrics???

Providing the error and your config would be helpful.

This is my conf file

input {
cloudwatch {
region => "us-east-1"
access_key_id => "1111"
secret_access_key => "11111"
namespace => "AWS/EC2"
metrics => [ "CPUUtilization" ]
filters => { "Volumes: { attachment.status ⇒ attached }" }

output {
elasticsearch{ hosts => [ "localhost:9200" ] index => "EC2_CloudWatch1" }
stdout{ codec => "rubydebug" }

You are low on disk space.

Now i am able to access logs.

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