I am attempting calculate an average from an HTTP Agent set of values, by 2 hours of Googling has left me more confused, so any help appreciated please.
HTTP Agent returns the following every 5 mins:
2024-09-06 09:55:58
<channelStatistics>
<serverId>06234d23-82cc-4764-a63f-6f5d1dee0e08</serverId>
<channelId>53dbc431-4df0-4dba-9da7-4c8f214a9bfa</channelId>
<received>4937</received>
<sent>4572</sent>
<error>139</error>
<filtered>0</filtered>
<queued>0</queued>
</channelStatistics>
I would like to calculate the average of the received number over the last hour.
Failed calculations I have tried
avg(/vmd1lmirthapp1/Channel.53dbc431-4df0-4dba-9da7-4c8f214a9bfa[<received>,values],1h)
avg(/vmd1lmirthapp1/Channel.53dbc431-4df0-4dba-9da7-4c8f214a9bfa[/,<received>],1h)
HTTP Agent returns the following every 5 mins:
2024-09-06 09:55:58
<channelStatistics>
<serverId>06234d23-82cc-4764-a63f-6f5d1dee0e08</serverId>
<channelId>53dbc431-4df0-4dba-9da7-4c8f214a9bfa</channelId>
<received>4937</received>
<sent>4572</sent>
<error>139</error>
<filtered>0</filtered>
<queued>0</queued>
</channelStatistics>
I would like to calculate the average of the received number over the last hour.
Failed calculations I have tried
avg(/vmd1lmirthapp1/Channel.53dbc431-4df0-4dba-9da7-4c8f214a9bfa[<received>,values],1h)
avg(/vmd1lmirthapp1/Channel.53dbc431-4df0-4dba-9da7-4c8f214a9bfa[/,<received>],1h)
Comment