logstash-plugins / logstash-input-cloudwatch

A Logstash input to pull events from the Amazon Web Services CloudWatch API
Apache License 2.0
43 stars 27 forks source link

No data? #10

Closed BrockReece closed 7 years ago

BrockReece commented 8 years ago

Hi,

I was wondering if someone could help me?

I have followed your readme and it seems like the requests to cloudwatch are successful but there is no output?

I have included my config below and a verbose log output.

input {
  cloudwatch {
    namespace => "AWS/EC2"
    metrics => [ "CPUUtilization" ]
    filters => { "tag:Monitoring" => "Yes" }

    region => "eu-west-1"
    access_key_id => "MYKEY"
    secret_access_key => "Secret Access"
  }
}

output {
  stdout {}
}
[AWS CloudWatch 200 1.788 0 retries] list_metrics(:namespace=>"AWS/EC2")
 {:level=>:info}
Polling metric CPUUtilization {:level=>:info}
Filters: [{:name=>"tag:Monitoring", :values=>["Yes"]}] {:level=>:info}
[AWS EC2 200 0.389 0 retries] describe_instances(:filters=>[{:name=>"tag:Monitoring",:values=>["Yes"]}])
 {:level=>:info}

Cheers Brock

suyograo commented 7 years ago

Hi, can you please post these kind of questions in our forum? The forum is also the best place to debug config issues, getting help etc. Github is mainly used for issues/enhancements. Thanks!