Logstash cloudwatch input plugn


(shahid) #1

Hi team ,
I install the logstash -cloudwatch input plugin on my ELK server and inside the /logstash/config.d/cloudwatch.conf
here my setting i put inside the con file(cloudwatch.conf).

<
input {
beats {
port => "5044"
}
}

input {
cloudwatch {
metrics => ["CPUUtilization"]
filters => { "tag:Environment" => "Yes" }
region => "us-west-2"
namespace => "AWS/EC2"
#aws_credentials_file => "/var/opt/aws.yaml"
aws_credentials_file => "/etc/aws_credentials.yaml"
}
}
output {
elasticsearch {
hosts => ["localhost:9200"]
index => "logstash-%{+YYYY.MM.dd}"
template => "/etc/logstash/logstash-temp.json"
template_name => "logstash-*"
template_overwrite => true
}
}

in the tail logs of log-stash m getting the below response.
"
[2018-11-14T11:51:56,074][INFO ][logstash.inputs.cloudwatch] Polling CloudWatch API
[2018-11-14T11:51:56,166][INFO ][logstash.inputs.cloudwatch] [Aws::EC2::Client 200 0.082751 0 retries] describe_instances(filters:[{name:"tag:Environment",values:["Yes"]}])

[2018-11-14T12:06:56,073][INFO ][logstash.inputs.cloudwatch] Polling CloudWatch API
[2018-11-14T12:06:56,169][INFO ][logstash.inputs.cloudwatch] [Aws::EC2::Client 200 0.087325 0 retries] describe_instances(filters:[{name:"tag:Environment",values:["Yes"]}])
"
But on the Kibana there is no logs.Can anyone please help me on this issue.


(system) #2

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