Let's say I have a cloud-watch log that looks like this:
The IP on the most left-hand side represents where the request comes from.
Is it possible to list the number of occurrences of each IP in a time range that I specified?
I mean I want to create data which look like this:
time range: 2019-06-02 00:00:00 - 2019-06-04 13:00:00
number of occurrences of `172.31.13.80`: 130
number of occurrences of `172.31.25.110`: 112
number of occurrences of `172.31.8.124`: 99
number of occurrences of `172.31.8.121`: 86
It seems that CloudWatch Logs Insights can do something similar to what I want. But I haven't figured out how to do this with Insights.
Does anyone know how to count the number of occurrences of each of the IP?
