I have a list of Load balancers and want to check if it has a traffic for more than 2 weeks with the help of aws cli.
Asked
Active
Viewed 77 times
1
-
Hi, welcome to SO! Can you please re-phrase your question ? Can't really understand what you are looking for. – ben5556 Jan 21 '19 at 09:50
-
i have a list of the loadbalancer from that i have to check if the loadbalacer is used in last 2 week or not (like any traffic has passed or not) so how can i do it with aws cli. @ben5556 – d_8 Jan 21 '19 at 10:53
-
1See https://docs.aws.amazon.com/cli/latest/reference/cloudwatch/get-metric-statistics.html. Fetch stats from a metric like ProcessedBytes or RequestCount as shown here https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-cloudwatch-metrics.html to check whether your ELB processed any traffic or not – ben5556 Jan 21 '19 at 17:54