Logstash Cloudwatch plugin error for bringing logs into Elastic

Hi all. I'm running into the Cloudwatch plugin error for Logstash when trying to bring logs (non metrics) as a stream into Logstash.. I'm running the 8.5.3 version of Logstash... Earlier cloudwatch_logs plugin doesn't seem to install anymore with latest version of Logstash.
Kindly provide any pointers.
enable_metric=>true, charset=>"UTF-8">, role_session_name=>"logstash", metrics=>["CPUUtilization", "DiskReadOps", "DiskWriteOps", "NetworkIn", "NetworkOut"], statistics=>["SampleCount", "Average", "Minimum", "Maximum", "Sum"], interval=>900, period=>300, combined=>false>
Error: No metrics to query
Exception: RuntimeError
Stack: /usr/share/logstash/vendor/bundle/jruby/2.6.0/gems/logstash-integration-aws-7.0.0/lib/logstash/inputs/cloudwatch.rb:154:in run' /usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:411:in inputworker'
/usr/share/logstash/logstash-core/lib/logstash/java_pipeline.rb:402:in `block in start_input'
[2023-10-15T01:32:55,717][INFO ][logstash.inputs.cloudwatch][main][8cb79d2c7c28a09c8ec838e53bbf370fa4a536133a314dc38667536bf83d0c44] Polling CloudWatch API
[2023-10-15T01:32:55,721][ERROR][logstash.javapipeline ][main][8cb79d2c7c28a09c8ec838e53bbf370fa4a536133a314dc38667536bf83d0c44] A plugin had an unrecoverable error. Will restart this plugin.

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