Getting the following exception when trying to pull logs from aws cloudwatch. Please let me know how to get the plugin working.
logstash version :5.1.1 Cloudwatch Input plugin version :2.0.0
10:51:06.452 [[main]"AWS/Logs", metrics=>["IncomingLogEvents"], filters=>{"LogGroupName"=>"test"}, id=>"5d5114c61b58d374e42e44ca04d64215282cf5c1-1", enable_metric=>true, codec=>"plain_be95e7fb-ed07-4d9c-a765-1a1308e51254", enable_metric=>true, charset=>"UTF-8">, region=>"us-east-1", use_ssl=>true, statistics=>["SampleCount", "Average", "Minimum", "Maximum", "Sum"], interval=>900, period=>300, combined=>false> Error: No metrics to query Exception: RuntimeError