I'm looking to get a connections per minute search which breaks the results down by the hour. For example something like the following:
0900-1000 16.68
1000-1100 6.58
1100-1200 4.75
1200-1300 3.87
I have a search that works out the connections per minute average for a period of time:
index=cisco* product=ASA "AAA retrieved default group policy*"
| timechart span=1m count
| stats avg(count) as avg_count | eval avg_count=round(avg_count,2)
Is there an easy way to adapt this so that i can search across today for example and have it return the many different values at different hours?
index=cisco* product=ASA "AAA retrieved default group policy*"
| timechart span=1m count
| bin span=1h _time
| stats avg(count) as avg_count by _time | eval avg_count=round(avg_count,2)
Awesome thanks, nice and simple
index=cisco* product=ASA "AAA retrieved default group policy*"
| timechart span=1m count
| bin span=1h _time
| stats avg(count) as avg_count by _time | eval avg_count=round(avg_count,2)