Open lucian-ioan opened 1 year ago
First, check if the metrics are included in the time window the CloudWatch metricset uses:
Second, if the API Gateway service or CloudWatch takes time to publish the metrics, then Metricbeat may miss them.
We can leverage the latency
configuration option to check and address this issue.
You could :
5m
Five minutes is very high, so it may be a latency issue if it starts collecting metrics reliably. If so, find the threshold by decreasing the latency
value until you stop receiving metrics reliably.
API Gateway metrics are sometimes not being fetched using
./metricbeat run -v
frombeats/x-pack/metricbeat
. Metricbeat works fine but I am getting no events.Possible issues: 1)
No metrics can be fetched for any service-> using the same config withAWS/EC2
as namespace and with the appropriate metrics works.AWS/ApiGateway
is the correct namespace, metrics used are also correct.2) Too few metrics are being generated by the API Gateway?
3) ???
Config in
beats/x-pack/metricbeat/modules.d/aws.yml
:Metrics via CloudWatch:
Metrics via AWS CLI command: